savePlpData | R Documentation |
savePlpData
saves an object of type plpData to folder.
savePlpData(plpData, file, envir = NULL, overwrite = FALSE)
plpData |
An object of type |
file |
The name of the folder where the data will be written. The folder should not yet exist. |
envir |
The environment for to evaluate variables when saving |
overwrite |
Whether to force overwrite an existing file |
Called for its side effect, the data will be written to a set of files in the folder specified by the user.
data("simulationProfile")
plpData <- simulatePlpData(simulationProfile, n = 500)
saveLoc <- file.path(tempdir(), "savePlpData")
savePlpData(plpData, saveLoc)
dir(saveLoc, full.names = TRUE)
# clean up
unlink(saveLoc, recursive = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.