evd: Create an event object with data-like names

evdR Documentation

Create an event object with data-like names

Description

This function calls ev() to create an event object and then sets the case attribute so that it renders nmtran data names in upper case. An object created with evd() can be used in the same way as an object created with ev().

Usage

evd(x, ...)

## S4 method for signature 'mrgmod'
evd(x, ...)

## S4 method for signature 'missing'
evd(x, ...)

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

as.evd(x)

Arguments

x

an event object.

...

arguments passed to ev().

Details

Note that evd isn't a separate class; it is just an ev object with a specific case attribute. See examples which illustrate the difference.

See Also

ev(), lctran(), uctran()

Examples

a <- evd(amt = 100)
b <- ev(amt = 300)
a
as.data.frame(a)
as_data_set(a, b)
as_data_set(b, a)
as.data.frame(seq(a, b))


metrumresearchgroup/mrgsolve documentation built on Feb. 13, 2024, 10:27 p.m.