mapping_pcr: Define a mapping function using pls::pcr

Description Usage Arguments Value

View source: R/cocoreg.R

Description

Define a mapping function using pls::pcr

Usage

1
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.


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