View source: R/qa_get_scm_table.R
get_scm_table | R Documentation |
Table of model parameter-covariate relationship, resulting improvement in OFV and estimated covariate coefficient.
get_scm_table(scm_directory, nr_cov, nr_param, skip = NULL, quiet = F)
scm_directory |
Scm run directory. Will search for the file raw_results_scm.csv. Columns relation, ofv, step.number and all columns with estimated covariate coefficient values (like, CLWGT.4.1) will be used in the function. |
nr_cov |
Number of covariates from the scm point of view, because categorical covariates can be binarized. |
nr_param |
Numbner of parameters. |
skip |
A character vector with names of the skipped parts in the qa run. Will check if "scm" is one of the vector elements. By default skip=NULL. |
quiet |
A logical indicating whether function should not write the warning message if some file not found. By default quiet=FALSE. |
A list of 3 elements: scm_table - a data frame of model parameter covariate relationship, resulting improvement in OFV and estimated covariate coefficient max_scm_table - a data frame with only one row from scm_table with the highest dofv value scm_files_exists - logical argument indicating whether needed file exists in the input directory and whether there is at least one covariate and one parameter.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.