savePrediction: Saves the prediction dataframe to RDS

Description Usage Arguments Details

View source: R/SaveLoadPlp.R

Description

Saves the prediction dataframe to RDS

Usage

1
savePrediction(prediction, dirPath, fileName = "prediction.rds")

Arguments

prediction

The prediciton data.frame

dirPath

The directory to save the prediction RDS

fileName

The name of the RDS file that will be saved in dirPath

Details

Saves the prediction data frame returned by predict.R to an RDS file and returns the fileLocation where the prediction is saved


hxia/plp-git-demo documentation built on March 19, 2021, 1:54 a.m.