Learn R Programming

spatstat (version 1.56-1)

methods.objsurf: Methods for Objective Function Surfaces

Description

Methods for printing and plotting an objective function surface.

Usage

# S3 method for objsurf
print(x, ...)
# S3 method for objsurf
plot(x, ...)
# S3 method for objsurf
image(x, ...)
# S3 method for objsurf
contour(x, ...)
# S3 method for objsurf
persp(x, ...)

Arguments

x

Object of class "objsurf" representing an objective function surface.

Additional arguments passed to plot methods.

Value

For print.objsurf, plot.objsurf and image.objsurf the value is NULL.

For contour.objsurf and persp.objsurf the value is described in the help for contour.default and persp.default respectively.

Details

These are methods for the generic functions print, plot, image, contour and persp for the class "objsurf".

See Also

objsurf

Examples

Run this code
# NOT RUN {
 fit <- kppm(redwood ~ 1, "Thomas")
 os <- objsurf(fit)
  os
  plot(os)
  contour(os, add=TRUE)
  persp(os)
# }

Run the code above in your browser using DataLab