listToMatrix: List to sparse matrix conversion

Description Usage Arguments Value See Also

View source: R/LarsPath.R

Description

create a matrix with all estimated coefficients from the output of HDlars or EMlasso functions.

Usage

1
listToMatrix(x, row = c("covariates", "lambda"))

Arguments

x

a LarsPath or EMlasso object

row

if covariates, covariates are in row

Value

A sparse matrix containing the values of estimated coefficients for all penalty parameter and all covariates

See Also

HDlars EMlasso


HDPenReg documentation built on May 19, 2017, 8:01 a.m.

Search within the HDPenReg package
Search all R packages, documentation and source code