plot.smooth.sspline: Plot a Smooth.sspline Object

Description Usage Arguments Details Value Note Author(s) See Also Examples

Description

Plot a smoothing spherical spline using color to represent the function value.

Usage

1
2
3
  ## S3 method for class 'smooth.sspline'
plot(x, lon, lat, main="", xlab="Longitude",
     ylab="Latitude", key.title="Temp\n(deg)", ...)

Arguments

x

a smooth.sspline object

lon

the longitudes on which the function values will be calculated

lat

the latitudes on which the function values will be calculated

main

the main title of the plot

xlab

the x-axis label of the main plot

ylab

the y-axis label of the main plot

key.title

the title for the colored key

...

other plotting parameters, such as lwd, asp, and ...

Details

It calls predict.smooth.sspline and filled.contour.

Value

NULL

Note

The longitudes and latitudes are measured in degrees.

Author(s)

Xianhong Xie

See Also

predict.smooth.sspline

Examples

1
2
3
4
5
6
7
8
9
subdat <- WTdiff[sample(nrow(WTdiff), 200), 2:4]
attach(subdat)

splobj <- smooth.sspline(lon, lat, avgd)

plot(splobj, lon=seq(-180, 180, len=50), lat=seq(-90, 90, len=25),
     main="World Average Temperature Change")

detach(subdat)

Example output



sspline documentation built on May 2, 2019, 2:17 a.m.