View source: R/reorder_theta_epi.R
reorder_theta_epi | R Documentation |
Internal helper function to reorder the theta parameters list for the epicorex function.
reorder_theta_epi(theta, marginal_description, ord)
theta |
List of estimated parameters. |
marginal_description |
Character string which determines the marginal distribution of the data. single marginal description applies to all variables in biocorex |
ord |
Vector of integers that give desired reorder sequence |
This function is necessary as the structure of theta varies for each parameter type. THis function is used after convergence to help package results for return to user. Is it called by sort_results
which passes the desired order via the ord
parameter.
Returns a new version of theta reordered according to the pattern supplied to ord
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.