Description Usage Arguments Value Note References See Also Examples
Create a scatter plot of square-root or squared differences between variable values at pairs of points versus the distance between the points.
1 | spacecloud(point.obj, pair.obj, a1, a2, type='r', query.a, ...)
|
point.obj |
a point object generated by |
pair.obj |
a pair object generated by |
a1 |
a variable to plot |
a2 |
an optional variable name, if entered the plot will be created between |
type |
either |
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 |
NULL
When query.a
is entered, the user will be prompted to identify points on the display device. Because each point in the
plot represents a pair of locations, the user must identify each point twice, once for the "from" point and once for the "to"
point. Querying is ended by pressing the middle mouse button on the mouse while the cursor is in the display window.
http://www.gis.iastate.edu/SGeoStat/homepage.html
1 2 3 4 5 | 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.