View source: R/qa_get_covariates_table.R
get_covariates_table | R Documentation |
Create covariate table for the summary part and the table of model parameter covariate relationship, resulting improvement in OFV and estimated covariate coefficient. Furthermore, the sum of all univariate improvements in OFV ignoring between covariate correlations (sum(SCMu)), as well as joint improvement in OFV when taking correlations into account (FREM).
get_covariates_table(frem_table, scm_table, max_scm_table)
frem_table |
A data frame of one row with column names c("","dOFV","Add.params") or c("","dOFV") if frem model run crash or was not run. |
scm_table |
A data frame of model parameter covariate relationship, resulting improvement in OFV and estimated covariate coefficient. Column names c("","dOFV","Coef"). |
max_scm_table |
A data frame of one row with column names c("","dOFV","Add.params") or c("","dOFV") if scm model run crash or was not run. |
A list of 2 elements: covariates_table - a data frames with two rows, one for frem record and one for scm record (for summary section) covariates_extra_table - a data frame of model parameter covariate relationship, resulting improvement in OFV and estimated covariate coefficient, with two extra rows - sum of all scm dofv values and frem dofv value (for covariates section)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.