plot.dcs {DCSmooth}R Documentation

Contour Plot for the Double Conditional Smoothing

Description

plot method for class "dcs"

Usage

## 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

## 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)


[Package DCSmooth version 1.1.2 Index]