Learn R Programming

pim (version 2.0.2)

pim-getters: Getters for slots of a pim object

Description

Getters for slots of a pim object

Usage

keep.data(x)

fitted(object, ...)

# S4 method for 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

Run this code
# NOT RUN {
data('FEVData')
themodel <- pim(FEV ~ Age + Height, data = FEVData)
keep.data(themodel)
fitted(themodel)

# }

Run the code above in your browser using DataLab