View source: R/map_correlation.R
map_correlation | R Documentation |
Calculates the correlation of true and estimated populations on a regular,
matching grid. It is expected that these are arrays with the first two
dimensions representing space and the third represents time. The
byyear
argument allows for a correlation over the entire result, or
separate correlations for each year.
map_correlation(true, est, byyear = FALSE, method = "pearson")
true |
Array of true biomass |
est |
Array of estimated biomass, with matching first and second dimensions |
byyear |
Calculate correlations by year? |
method |
Which correlation coefficient to use; passed to
|
Correlation, or vector of correlations by year
John K Best
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.