plot.rtopVariogramCloud: Plot and Identify Data Pairs on Sample Variogram Cloud

View source: R/variogramModel.R

plot.rtopVariogramCloudR Documentation

Plot and Identify Data Pairs on Sample Variogram Cloud

Description

Plot a sample variogram cloud, possibly with identification of individual point pairs

Usage

## S3 method for class 'rtopVariogramCloud'
plot(x, ...)

Arguments

x

object of class variogramCloud

...

parameters that are passed through to plot.variogramCloud The most important are:

identify

logical; if TRUE, the plot allows identification of a series of individual point pairs that correspond to individual variogram cloud points (use left mouse button to select; right mouse button ends)

digitize

logical; if TRUE, select point pairs by digitizing a region with the mouse (left mouse button adds a point, right mouse button ends)

xlim

limits of x-axis

ylim

limits of y-axis

xlab

x axis label

ylab

y axis label

keep

logical; if TRUE and identify is TRUE, the labels identified and their position are kept and glued to object x, which is returned. Subsequent calls to plot this object will now have the labels shown, e.g. to plot to hardcopy

Note

This function is mainly a wrapper around plot.variogramCloud, necessary because of different column names and different class names. The description of arguments and value can therefore be found in the help page of plot.variogramCloud.

Author(s)

Jon Olav Skoien

References

http://www.gstat.org/

See Also

plot.gstatVariogram

Examples


rpath = system.file("extdata",package="rtop")
library(sf)
observations = st_read(rpath, "observations")

observations$obs = observations$QSUMMER_OB/observations$AREASQKM

# Create the sample variogram
rtopVario = rtopVariogram(observations, params = list(cloud = TRUE))
plot(rtopVario)



rtop documentation built on Nov. 2, 2023, 5:07 p.m.