savePrediction: Saves the prediction dataframe to RDS

View source: R/SaveLoadPlp.R

savePredictionR Documentation

Saves the prediction dataframe to RDS

Description

Saves the prediction dataframe to RDS

Usage

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


OHDSI/PatientLevelPrediction documentation built on April 6, 2024, 11:50 p.m.