R: Coerce an object to class ev

as.ev {mrgsolve} | R Documentation

## Coerce an object to class ev

### Description

Coerce an object to class ev

### Usage

    as.ev(x, ...)

    ## S4 method for signature 'data.frame'
    as.ev(x, keep_id = TRUE, clean = FALSE, ...)

    ## S4 method for signature 'ev'
    as.ev(x, ...)

### Arguments

`x` | an object to coerce
`...` | not used
`keep_id` | if `TRUE`, `ID` column is retained if it exists
`clean` | if `TRUE`, only dosing or ID information is retained in the result

### Examples

    data <- data.frame(amt = 100)

    as.ev(data)

[Package mrgsolve version 1.0.0 Index]