demo_fun | R Documentation |
This function is used to demonstrate the custom tags of the rdx_roclet()
.
demo_fun(x, number = 1, letter = "a")
x |
An argument
|
number |
A number
|
letter |
A letter
|
This is the introduction.
This is a simple example showing the default behaviour.
demo_fun(1) #> [1] 42
This example shows that the letter
argument doesn't
affect the output.
demo_fun(1, letter = "b") #> [1] 42
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.