plrs-class {plrs} | R Documentation

## Class `plrs`

### Description

An S4 class representing the output of the `plrs` function.

### Slots

`coefficients`:

  Object of class `numeric` containing spline coefficients

`fitted.values`:

  Object of class `numeric` containing the fitted values

`residuals`:

  Object of class `numeric` containing the residuals

`X`:

  Object of class `matrix` containing the design matrix

`data`:

  Object of class `list` containing input data

`mdata`:

  Object of class `list` containing (possibly modified) data used to fit the model (See `modify.conf`).

`QP`:

  Object of class `list` containing input elements used for quadratic programming. If the model is unconstrained this contains a light version of an `lm` object.

`test`:

  Object of class `list` containing results from testing.

`cb`:

  Object of class `list` containing lower and upper bounds for predicted values.

`selected`:

  Object of class `logical` indicating whether the model results from a selection procedure.

`type`:

  Object of class `character` giving the type of model

`call.arg`:

  Object of class `list` containing the input arguments (for reproducibility)

### Methods

coef

  Returns the coefficients

criteria

  See `criteria`

effects

  Returns matrix of effects

fitted

  Returns the fitted values

knots

  Returns the knots

model.matrix

  Returns the design matrix

plot

  See `plot.plrs`

predict

  See `predict.plrs`

print

  Print the object information

residuals

  Returns the residuals

show

  Print the object information

summary

  Print a summary of the object information

### Author(s)

Gwenael G.R. Leday g.g.r.leday@vu.nl

[Package plrs version 1.26.0 Index]