R: Various methods for event objects

ev_methods {mrgsolve} | R Documentation

## Various methods for event objects

### Description

Various methods for event objects

### Usage

    ## S3 method for class 'ev'
    names(x)

    ## S3 method for class 'ev'
    dim(x)

    ## S3 method for class 'ev'
    as.matrix(x, ...)

    ## S3 method for class 'ev'
    as.data.frame(x, row.names = NULL, optional = FALSE, add_ID = NULL, ...)

    ## S4 method for signature 'ev'
    show(object)

### Arguments

`x` | an events object
`...` | passed to various methods
`row.names` | passed to `as.data.frame`
`optional` | passed to `as.data.frame`
`add_ID` | numeric ID of length 1 used to add `ID` column only if one doesn't already exist
`object` | used for `show`

### Examples

    e <- ev(amt = 100)

    names(e)

    as.data.frame(e)

    dim(e)

    nrow(e)

[Package mrgsolve version 1.0.4 Index]