View source: R/cross_validation.R
A simple function that provides assistance in generating the list-format for mod_spec expected by yada functions
1 | generate_mod_spec(problem, model_params, cdep_spec, uni_variable = NA)
|
problem |
Object containing the problem file for current mod_spec |
model_params |
Data frame containing variable parameters for the best performing models (generated using 'get_best_univariate_params()') |
cdep_spec |
Distinction of a conditionally independent ('indep') or conditionally dependent ('dep') model. |
uni_variable |
Trait name used for univariate model. If left as 'NA', the mod_spec for multivariate models is generated. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.