as.data.frame.CodeSet: Title

Description Usage Arguments Value Examples

Description

Title

Usage

1
2
3
## 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

1
2
3
4
5
6
7
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)

epistemic-analytics/ncodeR documentation built on June 15, 2019, 12:03 a.m.