powered by
Converts an scdf object into R code
convert( scdf, file = "", study_name = "study", case_name = "case", inline = FALSE, indent = 2, silent = FALSE )
Returns a string (invisible).
A single-case data frame. See scdf() to learn about this format.
scdf()
A filename for exporting the syntax.
Character string. Name of the study object.
Character string. Name of the scdf objects.
If TRUE, phase definition is in an online version.
Integer. Indentation.
If TRUE, syntax is not printed to the console
Other io-functions: read_scdf(), write_scdf()
read_scdf()
write_scdf()
filename <- tempfile() convert(exampleABC, file = filename) source(filename) all.equal(study, exampleABC) unlink(filename)
Run the code above in your browser using DataLab