generate_mapping_function: Generate a mapping function between two datasets

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.


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.