plot.dcs: Contour Plot for the Double Conditional Smoothing

Description Usage Arguments Value Details See Also Examples

View source: R/Methods_DCS.R

Description

plot method for class "dcs"

Usage

1
2
## S3 method for class 'dcs'
plot(x, ...)

Arguments

x

an object of class "dcs_options", usually, a result of a call to set.options.

...

Additional arguments passed to print.dcs_options. The argument plot_choice overrides the prompt to specify a plot, can be c(1, 2, 3).

Value

No return value.

Details

plot.dcs provides a contour plot of either the original data (1), smoothed surface (2) or residuals (3).

See Also

surface.dcs to plot the surface.

Examples

1
2
3
4
## Contour plot of smoothed surface
y <- y.norm1 + matrix(rnorm(101^2), nrow = 101, ncol = 101)
dcs_object <- dcs(y)
plot(dcs_object, plot_choice = 2)

DCSmooth documentation built on Oct. 21, 2021, 5:07 p.m.