plot_s_variogram {RiskMap} | R Documentation |
Plotting the empirical variogram
Description
Plots the empirical variogram generated by s_variogram
Usage
plot_s_variogram(variog_output, plot_envelope = FALSE, color = "royalblue1")
Arguments
variog_output |
The output generated by the function |
plot_envelope |
A logical value indicating if the envelope of spatial independence
generated using the permutation test must be displayed ( |
color |
If |
Details
This function plots the empirical variogram, which shows the spatial dependence structure of the data. If plot_envelope
is set to TRUE
, the plot will also include an envelope indicating the range of values under spatial independence, based on a permutation test.
Value
A ggplot
object representing the empirical variogram plot, optionally including the envelope of spatial independence.