as.data.frame.Code {ncodeR} | R Documentation |
Title
Description
Title
Usage
## S3 method for class 'Code'
as.data.frame(x, row.names = NULL, optional = FALSE,
...)
Arguments
x |
Code object 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)
as.data.frame(newcode)
[Package ncodeR version 0.2.0.1 Index]