Learn R Programming

spup (version 1.4-0)

plot.SpatialCorrelogramModel: Plots correlogram model

Description

Plots correlogram model

Usage

# S3 method for SpatialCorrelogramModel
plot(
  x,
  distance = 1,
  ylim = c(0, 1),
  xlab = "Distance",
  ylab = "Correlation",
  ...
)

Value

plot of correlogram model

Arguments

x

Object of class "SpatialCorrelogramModel" as created by makeCRM().

distance

minimum distance between locations (unit should correspond with the unit of the range parameter in makeCRM()).

ylim

the y limits of the plot.

xlab

a title for the x axis.

ylab

a title for the y axis.

...

additional parameters.

Author

Kasia Sawicka, Gerard Heuvelink

Examples

Run this code

mycormodel <- makeCRM(acf0 = 0.8, range = 300, model = "Exp")
plot(mycormodel, distance = 1)

Run the code above in your browser using DataLab