penalty: Penalty

Description Usage Arguments Value

Description

penalty returns value of penalty.

Usage

1
penalty(x, pathway, penalty_method = "THRESHOLD", alpha = NULL)

Arguments

x

x

pathway

character flag for 'ER' or 'AR' models

penalty_method

character specifying which algorithm to use when calculating the penalty. Default is "THRESHOLD" with other options "RIDGE" and "LASSO".

alpha

numeric with default NULL which gets set to 1 for ER model or 0.05 for AR model

Value

value


ericwatt/eapath documentation built on May 16, 2019, 8:41 a.m.