Learn R Programming

sgeostat (version 1.0-27)

spacecloud: Variogram Cloud

Description

Create a scatter plot of square-root or squared differences between variable values at pairs of points versus the distance between the points.

Usage

spacecloud(point.obj, pair.obj, a1, a2, type='r', query.a, ...)

Arguments

point.obj
a point object generated by point()
pair.obj
a pair object generated by pair()
a1
a variable to plot
a2
an optional variable name, if entered the plot will be created between a1 and a2
type
either 'r' for square-root differences or 's' for squared differences
query.a
an optional variable name, if entered, the value of the variable will be displayed on the graphics device for points identified by the user.
...
additional arguments for plot

Value

References

http://www.gis.iastate.edu/SGeoStat/homepage.html

See Also

point, pair

Examples

Run this code

opar <- par(ask = interactive() && .Device == "X11")
spacecloud(maas.point,maas.pair,'zinc')
# identify some points:
spacecloud(maas.point,maas.pair,'zinc',query.a='zinc')
par(opar)

Run the code above in your browser using DataLab