plot.tps {funfits}R Documentation

Diagnoistic and summary plots for a thin plate spline regression object

Description

This function creates four summary plots of the tps object. The first plot is a plot of the tps fit to the data. The second is predicted values vs residuals. The third is effective number of parameters vs GCV and the fourth is lambda vs GCV.

Usage

plot.tps(out, main=NA, digits=4, graphics.reset=T, ...)

Arguments

out A tps object.
main Title of the plot. Default is the function call.
digits Number of significant digits for the RMSE label.
graphics.reset Reset to original graphics parameters after function plotting.
... Any plotting arguments.

See Also

tps, summary.tps

Examples

tps(ozone$x, ozone$y) -> fit # fitting a surface to ozone measurements
plot(fit) # plots fit and residual plots

tps(BD[,1:4],BD$lnya,scale.type="range") -> fit # fitting a DNA strand
# displacement amplification surface to various buffer compositions
plot(fit) # plots fit and residual plots


[Package Contents]