pim-getters: Getters for slots of a pim object

Description Usage Arguments Value Examples

Description

Getters for slots of a pim object

Usage

1
2
3
4
5
6
keep.data(x)

fitted(object, ...)

## S4 method for signature 'pim'
fitted(object, ...)

Arguments

x

a pim object

object

a pim object

...

arguments passed to other methods. Currently ignored.

Value

keep.data(): a single logical value indicating whether the model matrix and pseudo responses were stored in the pim object.

fitted(): a numeric vector with the fitted values for the pseudo-observations.

Examples

1
2
3
4
data('FEVData')
themodel <- pim(FEV ~ Age + Height, data = FEVData)
keep.data(themodel)
fitted(themodel)

pim documentation built on May 30, 2017, 7:36 a.m.