Learn R Programming

slm (version 1.2.0)

plot.slm: Plot.slm

Description

Same function as the plot.lm function.

Usage

# S3 method for slm
plot(x, ...)

Arguments

x

slm object.

...

other parameters to be passed through to plotting functions.

Value

This function returns the graphics of plot.lm(x).

Examples

Run this code
# NOT RUN {
data("shan")
reg = slm(shan$PM_Xuhui ~ . , data = shan, method_cov_st = "fitAR", model_selec = -1)
plot(reg)
# }

Run the code above in your browser using DataLab