mapping_glmnet: Define a mapping function using glmnet::glmnet

Description Usage Arguments Value

View source: R/cocoreg.R

Description

Define a mapping function using glmnet::glmnet

Usage

1
mapping_glmnet(data1, data2)

Arguments

data1

data.frame, Dataset 1, the independent variables

data2

data.frame, Dataset 2, the dependent variables

Value

Returns a function object that does the mapping between two datasets.


bwrc/cocoreg-r documentation built on June 4, 2017, 8:41 a.m.