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
generate_mapping_function(method = lm)
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.