convert | R Documentation |
Converts an scdf object into R code
convert(
scdf,
file = "",
study_name = "study",
case_name = "case",
inline = FALSE,
indent = 2,
silent = FALSE
)
scdf |
A single-case data frame. See |
file |
A filename for exporting the syntax. |
study_name |
Character string. Name of the study object. |
case_name |
Character string. Name of the scdf objects. |
inline |
If TRUE, phase definition is in an online version. |
indent |
Integer. Indentation. |
silent |
If TRUE, syntax is not printed to the console |
Returns a string (invisible).
Other io-functions:
read_scdf()
,
write_scdf()
filename <- tempfile()
convert(exampleABC, file = filename)
source(filename)
all.equal(study, exampleABC)
unlink(filename)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.