Description Usage Arguments Value See Also Examples
View source: R/get_data_params.R
Read in vector of arguments, check their types and add them to a list params
for
building a model of input and response data with known relationships. If a parameter
isn't in the given list the default is used.
1 |
args |
A character vector of arguments (character strings) of the form "<name>=<value>". Values will be converted to logical or numeric when necessary. Accepted <names> are below. Defaults in parenthesis:
|
list of parameters used by mk_toy
function. Values in args
that
are not accepted parameters will be excluded and a warning displayed.
1 2 3 4 5 | args <- c('decomp=Tucker', 'row.share=F',
'A1.intercept=T', 'A2.intercept=T', 'A3.intercept=F',
'H1.intercept=T', 'H2.intercept=T', 'H3.intercept=T',
'R1=4', 'R2=4', 'R3=2')
data.params <- get_data_params(args)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.