| classes {pim} | R Documentation |
Extract information from pim.environment and pim.poset objects
Description
These functions serve to extract the information contained
in the objects of class pim.environment and
pim.poset.
Usage
classes(x)
## S4 method for signature 'pim.environment'
classes(x)
## S4 method for signature 'pim.environment'
names(x)
## S4 method for signature 'pim.poset'
names(x)
compare(x)
## S4 method for signature 'pim.environment'
compare(x)
## S4 method for signature 'pim.poset'
compare(x)
model(object, ...)
## S4 method for signature 'pim'
model(object)
## S4 method for signature 'pim.summary'
model(object)
link(object, ...)
## S4 method for signature 'pim'
link(object)
## S4 method for signature 'pim.summary'
link(object)
Arguments
x |
an object of class |
object |
an object of class |
... |
arguments passed to and from other methods. |
Value
classes(): A named vector with the classes of the data
contained in the pim.environment
names(): For an object of class pim.environment the names
of the variables in the object. For an object of class pim.poset,
the name of the poset functions inside the environment
compare(): A character value indicating how the comparison
is defined in a pim.poset object, or the poset-slot of
a pim.environment object respectively.
model(): a character value that displays
the type of model (difference, marginal, regular or customized)
link(): a character value that displays
the type of link (difference, marginal, regular or customized)
See Also
nobs, poset, is.complete,
pim.environment-class, pim.poset-class,
pim-class, pim.summary-class
Examples
data(DysData)
DysPimEnv <- new.pim.env(DysData,poset=TRUE)
classes(DysPimEnv)
names(DysPimEnv)
compare(DysPimEnv)
themodel <- pim(SPC_D2 ~ Chemo, data = DysData, model = 'difference')
model(themodel)
thesummary <- summary(themodel)
model(thesummary)