geoReportHitscores: Calculate hitscores

Description Usage Arguments Examples

Description

Calculate hitscores of the potential sources for a given surface (usually the geoprofile).

Usage

1
geoReportHitscores(params, source, surface)

Arguments

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().

Examples

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)

bobverity/Rgeoprofile documentation built on May 12, 2019, 11:28 p.m.