Description Usage Arguments Value Examples
View source: R/prior_dengue_fxns.R
calc.sqldata.cor
Calculates an nyears by nyears correlation matrix for dengue incidence
1 2 | calc.sqldata.cor(mydata = NULL, all_years_epi = NULL, cases = NULL,
nfit = NULL)
|
mydata |
A dataframe with all the available data for this DICE run |
all_years_epi |
the epi data for all years |
cases |
AN array with the entire time series of incidence |
nfit |
The number of data points used when calculating the correlation |
corrMAT An nyear x nyears matrix with the Pearson correlation values
1 2 | calc.cor(mydata= mydata, all_years_epi = al_years_epi, cases = all_years_epi$model$epi, nfit = nfit)
calc.cor(mydata= mydata, all_years_epi = al_years_epi, cases = all_years_epi$fit$epi[,iregion], nfit = nfit)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.