View source: R/rave-export-repository.R
rave_export | R Documentation |
Export portable data for custom analyses.
rave_export(x, path, ...)
## Default S3 method:
rave_export(x, path, format = c("rds", "yaml", "json"), ...)
## S3 method for class 'rave_prepare_subject_raw_voltage_with_epoch'
rave_export(x, path, zip = FALSE, ...)
## S3 method for class 'rave_prepare_subject_voltage_with_epoch'
rave_export(x, path, zip = FALSE, ...)
## S3 method for class 'rave_prepare_power'
rave_export(x, path, zip = FALSE, ...)
x |
R object or 'RAVE' repositories |
path |
path to save to |
... |
passed to other methods |
format |
export format |
zip |
whether to zip the files |
Exported data path
x <- "my data"
path <- tempfile()
rave_export(x, path)
readRDS(path)
## Not run:
# Needs demo subject
path <- tempfile()
x <- prepare_subject_power("demo/DemoSubject")
# Export power data to path
rave_export(x, path)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.