View source: R/knnst_spatial_cor.R
| knnst_spatial_cor | R Documentation |
knnst_spatial_cor() computes the spatial correlation for all monthly data
between the specifed site(s) (sites) and all other sites.
knnst_spatial_cor(disagg, sites, bin_size = NULL)
disagg |
A |
sites |
One or more sites to compute correlations from. |
bin_size |
Number of years for each bin when there is only one simulation. |
If there are more than one simulations, the correlation is computed for each
simulation across all years. If there is only one simulation, then the user
must specify the bin_size that is used to compute the correlation across
moving windows of this specified size.
A knnst_spcor object.
plot.knnst_spcor(), knnst_temporal_cor()
knnst_spatial_cor(ex_disagg, "Cameo", 100)
knnst_spatial_cor(ex_disagg, c("Cameo", "Hoover"), 100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.