epid-class {diyar}R Documentation

epid object

Description

S4 objects storing the result of episodes.

Usage

is.epid(x)

as.epid(x)

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

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

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

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

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

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

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

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

## S4 method for signature 'epid'
x[i, j, ..., drop = TRUE]

## S4 method for signature 'epid'
x[[i, j, ..., exact = TRUE]]

## S4 method for signature '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

# A test for `epid` objects
ep <- episodes(date = 1)
is.epid(ep); is.epid(2)


[Package diyar version 0.4.1 Index]