Learn R Programming

diyar (version 0.4.0)

epid-class: epid object

Description

S4 objects storing the result of episodes.

Usage

is.epid(x)

as.epid(x)

# S3 method for epid format(x, ...)

# S3 method for epid unique(x, ...)

# S3 method for epid summary(object, ...)

# S3 method for epid_summary print(x, ...)

# S3 method for epid as.data.frame(x, ...)

# S3 method for epid as.list(x, ...)

# S4 method for epid show(object)

# S4 method for epid rep(x, ...)

# S4 method for epid [(x, i, j, ..., drop = TRUE)

# S4 method for epid [[(x, i, j, ..., exact = TRUE)

# S4 method for epid c(x, ...)

Arguments

x

x

...

...

object

object

i

i

j

j

drop

drop

exact

exact

Slots

sn

Unique record identifier.

.Data

Unique episode identifier.

wind_id

Unique window identifier.

wind_nm

Type of window i.e. "Case" or "Recurrence".

case_nm

Record type in regards to case assignment.

dist_wind_index

Unit difference between each record and its window's reference record.

dist_epid_index

Unit difference between each record and its episode's reference record.

epid_dataset

Data sources in each episode.

epid_interval

The start and end dates of each episode. A number_line object.

epid_length

The duration or length of (epid_interval).

epid_total

The number of records in each episode.

iteration

The iteration of the tracking process when a record was linked to its episode.

options

Some options passed to the instance of episodes.

Examples

Run this code
# NOT RUN {
# A test for `epid` objects
ep <- episodes(date = 1)
is.epid(ep); is.epid(2)

# }

Run the code above in your browser using DataLab