Learn R Programming

FinAna (version 0.1.0)

lmplot: Diagnostics Graphs for a linear regression

Description

Plotting diagnostic graphs for a fitted object: histogram of the residuals, scatter plot of the fitted values and residuals, scatter plot of fitted values and actual values, time series plot of residuals, and time series plot of actual and fitted values.

Usage

lmplot(x,y)

Arguments

x
:a linear fitted object
y
:the independent variable

Examples

Run this code
# lmplot(aapl,sp500)

Run the code above in your browser using DataLab