Rgeo_vario_construct_plot {klovan} | R Documentation |
Experimental Ominidirectional Variogram Plot using Regostats
Description
This function constructs an Experimental Ominidirectional Variogram using 'Rgeostats'.
Usage
Rgeo_vario_construct_plot(db, num_fac, property, lag, nlag = 10)
Arguments
db |
The db-class containing the data information used to calculate the experimental variogram. The variograms are calculated for the set of "z*" variables present in the db. |
num_fac |
A numeric value indicating how many factors to analyze. Default is 3. |
property |
A string indicating which factor to build variogram from e.g. "RC1" or "RC2" |
lag |
Array containing the distance lags for each calculation direction. If the lag is not defined, set as NA. A default lag is calculated so that the maximum distance is equal to half of the field diagonal |
nlag |
Array containing the number of lags for each calculation direction If nlag not defined, set as NA. If the number of lags is not defined, it defaults to 10. |
Value
a plottable Rgeostats Experimental Ominidirectional Variogram model
Examples
if(requireNamespace("RGeostats")){
library(RGeostats)
data("Klovan_Row80", package = "klovan")
db <- Rgeo_database(Klovan_Row80, 3, "RC3")
Rgeo_vario_construct_plot(db, 3, "RC3", lag = 500)
}