View source: R/set.nl.variable.R
set.nl.variable | R Documentation |
Set a variable in the exepriment of the provided nl object
set.nl.variable(
nl,
varname,
values = NULL,
min = NULL,
max = NULL,
step = NULL,
qfun = NULL
)
nl |
nl object |
varname |
name of the variable that should be added |
values |
a values vector, not needed if min, max and step or qfun are defined instead |
min |
minimum value of variable |
max |
maximum value of variable |
step |
step interval between values |
qfun |
distribution function |
Set a variable in the exepriment of the provided nl object
nl object
## Not run:
set.nl.variable(nl, varname="testvar", min=1, max=5, step=0.1, qfun="qunif")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.