plasso_fit: This function estimates cross-validated Post-Lasso based on...

View source: R/ml_wrapper.R

plasso_fitR Documentation

This function estimates cross-validated Post-Lasso based on the glmnet package

Description

This function estimates cross-validated Post-Lasso based on the glmnet package

Usage

plasso_fit(x, y, args = list())

Arguments

x

Matrix of covariates (number of observations times number of covariates matrix)

y

vector of outcomes

args

List of arguments passed to glmnet

Value

An object with S3 class "plasso"


MCKnaus/causalDML documentation built on Aug. 19, 2023, 5:47 p.m.