powered by
Various methods for event objects
# S3 method for ev names(x)# S3 method for ev dim(x)# S3 method for ev as.matrix(x, ...)# S3 method for ev as.data.frame(x, row.names = NULL, optional = FALSE, add_ID = NULL, ...)# S4 method for ev show(object)
# S3 method for ev dim(x)
# S3 method for ev as.matrix(x, ...)
# S3 method for ev as.data.frame(x, row.names = NULL, optional = FALSE, add_ID = NULL, ...)
# S4 method for ev show(object)
an events object
passed to various methods
passed to as.data.frame
as.data.frame
numeric ID of length 1 used to add ID column only if one doesn't already exist
ID
used for show
show
# NOT RUN { e <- ev(amt = 100) names(e) as.data.frame(e) dim(e) nrow(e) # }
Run the code above in your browser using DataLab