Create Model Matrix and Save the Transforming Parameters

The model.matrix() function in R is convenient for transforming training dataset for modeling. But it does not save any parameter used in transformation, so it is hard to apply the same transformation to test dataset or new dataset. This package is created to solve the problem.


ModelMatrixModel package in R

model.matrix function in R is a convenient way to transform training dataset for modeling. But it does not save any parameter used in transformation, so it is hard to apply the same transformation to test dataset or new dataset. ModelMatrixModel package is created to solve the problem.

Getting Started

Dependencies

Matrix

Installing

devtools::install_github("xinyongtian/R_ModelMatrixModel")

example

see vignettes

Authors

Xinyong Tian

Version History

  • 0.1.0
    • Initial Release

License

GPL-3

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("ModelMatrixModel")

0.1.0 by Xinyong Tian, 5 years ago


Browse source code at https://github.com/cran/ModelMatrixModel


Authors: Xinyong Tian


Documentation:   PDF Manual  


GPL-3 license


Imports Matrix

Suggests rmarkdown, knitr


See at CRAN