Learn R Programming

mrgsolve (version 1.5.1)

as.ev: Coerce an object to class ev

Description

Coerce an object to class ev

Usage

as.ev(x, ...)

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

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

Value

An object with class ev.

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

Run this code
data <- data.frame(amt = 100) 

as.ev(data)

Run the code above in your browser using DataLab