add.map.legend | Add legend to map |
add.region.to.lsoas | Add regional indicator to each LSOA centriod |
aggregate_lsoa | aggregate LSOA concentration to the given geographical level... |
approximate.catchment.using.circle | Approximating catchments using circles with varying radius to... |
bi.legend | Construct biscale |
extract.1d.sptm.interactions | Extract space-time interaction samples for a given site or a... |
extract.joint.hyperpar | Extract hyperparameters from the posterior draws of the INLA... |
extract.posterior.samples.from.joint | Obtain posterior samples from the INLA approximate joint... |
fit_inla | fit inla model from data, covariates, and predictor. |
forestplot | for producing a forest plot to visualise level correlation... |
form.fitdata.stk | y_column can be 'log_gc' (for the original data) or 'log_gcX'... |
get.geo.lookups | Construct lookup tables between LSOA11 and various other... |
get_inset_coords | Get the coordinate for the map inset |
get_lsoa_agg_popw | format data for aggregation |
get.LSOA.covariates | get LSOA-level covariates from the... |
get_prev_sims | Get simulated values for the debiased prevalence on the logit... |
get_sites_geo | Getting locations of the STW sites |
get.starting.day | A lookup table between time index and first day of the week |
inCircle | To check if a point (x, y) is within a circle centred at (c1,... |
is_consecutive | Read the publicly available data into R |
load_pred | Load predictions of viral concentration |
LSOA.to.catchment.covariates | get catchment level covariates from LSOA |
LSOA.to.catchment.lookup | aggregating LSOA covariates to STW catchment using the open... |
ltla_map | produce various LTLA maps |
merge_ww_with_site_geo | Merging site geo data with wastewater data |
pcprior.rho | Setting PC prior on the AR1 coefficient that Pr(|rho|>a)=pb... |
pick.1st.week | Picking the first week of each month |
point2points.distances | Calculate the Euclidian distance between a point (centroid)... |
post_summary | posterior summary |
ppp | Posterior probability |
read_LSOA_centroids | Read the publicly available population-weighted LSOA... |
read_public_data | Read the publicly available data into R |
replace_LOD | todo: L differs by type of measurement technique. Need to... |
set_priors | A function to set prior specification (apart from the AR1... |
ww_wide_to_long | Transform the raw public wastewater data from wide to long... |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.