demo_fun {admiraldev} | R Documentation |
A Demo Function
Description
This function is used to demonstrate the custom tags of the rdx_roclet()
.
Usage
demo_fun(x, number = 1, letter = "a")
Arguments
x |
An argument
|
number |
A number
|
letter |
A letter
|
Examples
This is the introduction.
A simple example
This is a simple example showing the default behaviour.
demo_fun(1) #> [1] 42
An example with a different letter
This example shows that the letter
argument doesn't
affect the output.
demo_fun(1, letter = "b") #> [1] 42
[Package admiraldev version 1.3.1 Index]