PredictionPlot: Plots the observed, predict and an independent variable from...

View source: R/regressionplots.R

PredictionPlotR Documentation

Plots the observed, predict and an independent variable from a regression model.

Description

Plots the observed, predict and an independent variable from a regression model.

Usage

PredictionPlot(Regression.object, predictor.number = NULL)

Arguments

Regression.object

The model.

predictor.number

The index of the predictor to be used in the plot, where 1 means the first predictor.

Details

With numeric predicts, other variables are assumed to have an average effect. With factors, the first level is from the intercept, and the other levels are the intercept plus the parameter (thus, if you modify the contrats, this plot will not display the predicted values correctly).


NumbersInternational/flipRegression documentation built on March 2, 2024, 10:42 a.m.