Rdocumentation
powered by
Learn R Programming
cocoreg (version 0.1.1)
mapping_pcr: Define a mapping function using pls::pcr
Description
Define a mapping function using pls::pcr
Usage
mapping_pcr(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.