convert {scan} | R Documentation |
Convert
Description
Converts an scdf object into R code
Usage
convert(
scdf,
file = "",
study_name = "study",
case_name = "case",
inline = FALSE,
indent = 2,
silent = FALSE
)
Arguments
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 |
Value
Returns a string (invisible).
See Also
Other io-functions:
read_scdf()
,
write_scdf()
Examples
filename <- tempfile()
convert(exampleABC, file = filename)
source(filename)
all.equal(study, exampleABC)
unlink(filename)
[Package scan version 0.61.0 Index]