| 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, ..., decode = TRUE)
## S3 method for class 'epid'
as.list(x, ..., decode = TRUE)
## 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 |
decode |
If |
i |
i |
j |
j |
drop |
drop |
exact |
exact |
Slots
snUnique record identifier.
.DataUnique
episodeidentifier.wind_idUnique reference ID for each match.
wind_nmType of window i.e. "Case" or "Recurrence".
case_nmRecord type in regards to case assignment.
dist_wind_indexUnit difference between each record and its window's reference record.
dist_epid_indexUnit difference between each record and its episode's reference record.
epid_datasetData sources in each
episode.epid_intervalThe start and end dates of each
episode. Anumber_lineobject.epid_lengthThe duration or length of (
epid_interval).epid_totalThe number of records in each
episode.iterationThe iteration when a record was matched to it's group (
.Data).optionsSome options passed to the instance of
episodes.
Examples
# A test for `epid` objects
ep <- episodes(date = 1)
is.epid(ep); is.epid(2)
ep <- episodes(date = 1)
is.epid(ep); is.epid(2)
[Package diyar version 0.5.1 Index]