glpModel-class | R Documentation |

The class `"glpModel"`

conceptually contains a very large class
of *“General Linear Prediction Models”*.

Its `resp`

slot (of class `"respModule"`

) may
model linear, non-linear, generalized linear and non-linear
generalized response models.

Objects can be created by calls of the form `new("glpModel", ...)`

,
but typically rather are returned by our modeling functions, e.g., `glm4()`

.

`resp`

:a

`"respModule"`

object.`pred`

:a

`"predModule"`

object.

Class `"Model"`

, directly.

- coef
`signature(object = "glpModel")`

: extract the coefficient vector`\beta`

from the object.- fitted
`signature(object = "glpModel")`

: fitted values; there may be several types, corresponding to the residuals, see there (below).- residuals
`signature(object = "glpModel")`

: residuals, depending on the type of the model, there are several types of residuals and correspondingly residuals, see`residuals.glm`

from the stats package.

`glm4()`

returns fitted `glpModel`

objects.

The constituents of this class are
`respModule`

and
`predModule`

, both of which have several sub
classes.

```
showClass("glpModel")
## Use example(glm4) or see help(glm4) for many more examples.
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.