as.data.frame.CodeSet {ncodeR} | R Documentation |
Title
Description
Title
Usage
## S3 method for class 'CodeSet'
as.data.frame(x, row.names = NULL, optional = FALSE,
...)
Arguments
x |
CodeSet to convert |
row.names |
NULL or a character vector giving the row names for the data frame. Missing values are not allowed. |
optional |
logical. If TRUE, setting row names and converting column names |
... |
additional arguments to be passed to or from methods |
Value
data.frame
Examples
data(RS.data)
rs = RS.data
newcode = create.code(name = "Data", expressions = c("number","data"),
excerpts = rs$text)
code.set = code.set("Demo RS CodeSet", "CodeSet made for the demo",
excerpts = rs$text, codes = c(newcode))
as.data.frame(code.set)
[Package ncodeR version 0.2.0.1 Index]