Learn R Programming

cocoreg (version 0.1.1)

mapping_lmridge: Define a mapping function using MASS::lm.ridge

Description

Define a mapping function using MASS::lm.ridge

Usage

mapping_lmridge(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.