Description Usage Arguments Examples
Calculate hitscores of the potential sources for a given surface (usually the geoprofile).
1 | geoReportHitscores(params, source, surface)
|
params |
input parameters in the format defined by geoParams(). |
source |
longitude and latitude of one or more source locations in the format defined by geoDataSource(). |
surface |
the surface from which to calculate hitscores. Usually an object produced by geoProfile(). |
1 2 3 4 5 6 | # John Snow cholera data
d <- geoData(Cholera$longitude, Cholera$latitude)
s <- geoDataSource(WaterPumps$longitude, WaterPumps$latitude)
p <- geoParams(data = d, sigma_mean = 1.0, sigma_squared_shape = 2)
m <- geoMCMC(data = d, params = p, lambda=0.05)
geoReportHitscores(params = p, source = s, surface = m$geoProfile)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.