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)
| x | an events object |
|---|---|
| ... | passed to various methods |
| row.names | passed to |
| optional | passed to |
| add_ID | numeric ID of length 1 used to add |
| object | used for |
#> [1] "time" "amt" "cmt" "evid"#> time amt cmt evid #> 1 0 100 1 1#> [1] 1 4#> [1] 1