View source: R/exploratory_analysis.R
plot_s_variogram | R Documentation |
Plots the empirical variogram generated by s_variogram
plot_s_variogram(variog_output, plot_envelope = FALSE, color = "royalblue1")
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 |
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.
A ggplot
object representing the empirical variogram plot, optionally including the envelope of spatial independence.
s_variogram
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.