Description Usage Arguments Value
try_theta is a function which creates the model parameters and objects related to them. If the input is not a list, this function creates a list which is also a "sema" class with all needed objects stored within.
1 2 | try_theta(theta, n_fixed, n_random, start_resid_var, start_random_var,
start_fixed_coef, prior_n, prior_j)
|
theta |
Either an empty object or an object with class list and sema. |
n_fixed |
Number of fixed effects. |
n_random |
Number of random effects. |
start_resid_var |
Starting values residual variance, default starting value equals 1. |
start_random_var |
Starting values variance of random effects, default starting values equal 1. |
start_fixed_coef |
Starting values fixed effect coefficients, default starting values equal 1. |
prior_n |
Weight starting value residual variance. |
prior_j |
Weight starting values fixed effects coefficients and random effects variance. |
If theta is a list, it returns theta as it was supplied, else a list with needed objects is returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.