export_fn: Exports to a variety of formats based on the file type...

Description Usage Arguments

View source: R/utils.R

Description

Exports to a variety of formats based on the file type argument

Usage

1

Arguments

x

object to be exported

file

character path to the file to be exported to

...

arguments to be passed to the export functions

File type is based on the file suffix and can be one of "txt", "csv", "rda", "dta". dta files use foreign::write.dta. If a match is not found, the file is written to std.out


rOpenHealth/rEHR documentation built on March 19, 2018, 7:58 a.m.