Learn R Programming

clpm (version 1.0)

predict.clpm: Predict method for Constrained Linear Probability Model

Description

Predicted values based on constrained linear probability model object.

Usage

# S3 method for clpm
predict(object, newdata, se.fit = FALSE, ...)

Value

The function returns the same object returned by predict.lm.

Arguments

object

Object of class inheriting from "clpm"

newdata

An optional data frame in which to look for variables with which to predict. If omitted, the fitted values are used.

se.fit

A switch indicating if standard errors are required.

...

further arguments passed to or from other methods.

Author

Andrea Beci andreabeci08@gmail.com, Paolo Frumento paolo.frumento@unipi.it

Details

See predict.lm.