ProcessData-class: Class "ProcessData"

Description Objects from the Class Slots Methods Author(s) See Also Examples

Description

A base class for holding unit specific informations and meta data for more complex classes for process data.

Objects from the Class

Objects of this class are usually not created. It is essentially just a data frame wrapped up in an S4-object. It can be created using the constructor process.

The class serves the purpose of being a building block for the classes ContinuousProcess and MarkedPointProcess.

Slots

metaData:

a list.

unitColNames:

a character.

valueEnv:

an environment.

idVar:

a character.

iUnitSubset:

an integer vector. References for subsetting.

jUnitSubset:

an integer vector. References for subsetting.

Methods

colNames

signature(object = "ProcessData", type = "character"): Returns the column names whether type is missing or equal to 'unit'. Other values of type are not allowed.

dim

signature(x = "ProcessData"): Returns the dimensions.

getId

signature(object = "ProcessData"): Returns the identification variable with name in slot idVar.

getUnitData

signature(object = "ProcessData"): Returns the data.frame of unit data from slot unitData.

process

signature(unitData = "data.frame")(unitData, idVar = "id", ...): Creates a ProcessData object from a data frame.

setUnitData

signature(object = "ProcessData", value = "data.frame"): Sets the unit data in slot unitData equal to value.

Author(s)

Niels Richard Hansen, Niels.R.Hansen@math.ku.dk

See Also

ContinuousProcess and MarkedPointProcess.

Examples

1
showClass("ProcessData")

ppstat documentation built on May 2, 2019, 5:26 p.m.