Description Usage Arguments Value Note
build_ped_model
1 | build_ped_model(data_dir, sig_build = 0.05, sig_model = 0.01, pos_only = FALSE)
|
data_dir |
The directory in which data are to be, or have previously been, downloaded. |
sig_build |
Significance threshold for initial constructing of model through adding successive layers |
sig_model |
Desired significance of final model |
pos_only |
Only include layers that make a positive contribution to final model (and so exclude any layers that are negatively correlated)? |
The final model reduced to only layers with significance below 'sig_model'.
This function can take several minutes to run, and saves the final model in two forms, both stored in 'data_dir': the initial, full model with all layers, called 'ped-model-full.Rds', and the final model with only layers with significance below 'sig_model', called 'ped-model-final.Rds'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.