Learn R Programming

Cyclops (version 3.4.0)

convertToGlmnetLambda: Convert to glmnet regularization parameter

Description

convertToGlmnetLambda converts a prior variance from Cyclops into the regularization parameter lambda.

Usage

convertToGlmnetLambda(variance, nobs)

Value

lambda

Arguments

variance

Prior variance

nobs

Number of observation rows in dataset