build_ped_model: build_ped_model

Description Usage Arguments Value Note

Description

build_ped_model

Usage

1
build_ped_model(data_dir, sig_build = 0.05, sig_model = 0.01, pos_only = FALSE)

Arguments

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)?

Value

The final model reduced to only layers with significance below 'sig_model'.

Note

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'.


ATFutures/nyped documentation built on Jan. 20, 2020, 10:04 p.m.