Description Format See Also Examples
A model for use in rsstap examples.
Calling example("example_model")
will run the model in the
Examples section, below, and the resulting sstapreg object will then be
available in the global environment. The chains
and iter
arguments are specified to make this example be small in size. In practice,
it is reccomended that they be left unspecified in order to use the default
values (4 and 2000 respectively) or increased if there are convergence
problems. The cores
argument is optional and on a multicore system,
the user may well want to set that equal to the number of chains being
executed.
example_benvo
for a description of the data.
1 2 3 4 5 6 | example_model <-
sstap_lm(BMI ~ sex + sap(FFR),
benvo = rbenvo::FFbenvo,
# this next line is only to keep the example small in size!
chains = 1, cores = 1, seed = 12345, iter = 500, refresh = 0)
example_model
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.