Learn R Programming

statip (version 0.2.3)

plot.loess: Basic plot of a loess object

Description

Plots a loess object adjusted on one unique explanatory variable.

Usage

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

Arguments

x

An object of class "loess".

...

Additional graphical arguments.

See Also

loess from package stats.

Examples

Run this code
# NOT RUN {
reg <- loess(dist ~ speed, cars)
plot(reg)

# }

Run the code above in your browser using DataLab