generate_mapping_function: Generate a mapping function between two datasets

Description Usage Arguments Value


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.





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


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

Search within the cocoreg package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

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