If you are not familiar with new functions and packages, example()
function can help to figure out how to use a new function.
Most developers include the example sources to the document
example()
function works. head()
function by using example()
function.
# Show an example of seq function.
example(seq)
# Show an example of head function.
# Show an example of seq function.
example(seq)
# Show an example of head function.
example(head)
test_function("example")
success_msg("Great! Head over to the next exercise.")