Generate a mapping function between two datasets

Share:

Description

Generate a mapping function between two datasets, using some method, such as linear regression (lm), or some classifier such as a random forest (randomForest).

Wraps the function as well as data into a single object.

Usage

1

Arguments

method

A function to be used in the mapping. A function object.

Value

Returns a function object that does the mapping between two datasets i.e. from dataset 1 to dataset 2.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.