Learn R Programming

XMRF (version 1.0)

lambdaMax: Maximum lambda

Description

Compute the maximum lambda

Usage

lambdaMax(X)

Arguments

X
a nxp data matrix.

Value

Details

Compute the largest value for regularization (maximum lambda) that gives the null model. The maximum lambda is computed based on the input data matrix, and is the maximum element from column-wise multiplication of data matrix normalized by the number of observations.