These functions allow you to specify the left hand side and
right hand side of a term in a pim model. The user should
only use this functions within a formula using the
function. Use in a different context will return an error.
1 2 3 4 5
any vector specified in a formula
These specific functions are actually not used by the
pim calls the internal function
.make.posfun to create the actual functions
R to work with the specified posets of the model of
The actual functions used by
pim are saved in a specific environment, a
pim.environment, which resides in the
pim-class object returned by
pim. This way of working
is chosen in order to avoid unnecessary copying of data.
PP serves simply as short for
R(x) - L(x). If used outside the context of a pim model, it will generate
multiple warnings (see section warning).
a vector with the pseudo-observations for x, based on the
poset used to create the function. If used in a wrong context (i.e.
not in a call to
pim), it returns
x unchanged and throws
These functions serve only as placeholder. During the fitting process of a pim, they get updated to include the posets (the indices that determine which observations are compared) Note that this makes the functions behave fundamentally different from what you would expect R. The result of these functions depends on the context in which they are called.
1 2 3 4 5