Description Usage Arguments Value Examples
View source: R/prior_dengue_fxns.R
calc.dist
Calculates an nyears X nyears Euler distance matrix for the incidence profiles
1 2 | calc.sqldata.dist(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 |
distMAT An nyear x nyears matrix with Euler distance values
1 2 | calc.sqldata.dist(mydata= mydata, all_years_epi = al_years_epi, cases = all_years_epi$model$epi, nfit = nfit)
calc.sqldata.distr(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.