Description Usage Arguments Examples
Converts surface to hitscore percentage
1 | geoProfile(surface)
|
surface |
matrix to convert to geoprofile |
1 2 3 4 5 6 7 8 9 10 11 12 13 | # John Snow cholera data
d <- geoData(Cholera$longitude, Cholera$latitude)
p <- geoParams(data = d, sigma_mean = 1.0, sigma_squared_shape = 2)
m <- geoMCMC(data = d, params = p, lambda=0.05)
gp <- geoProfile(m$posteriorSurface)
# simulated data
sim <-rDPM(50, priorMean_longitude = -0.04217491, priorMean_latitude =
51.5235505, alpha=1, sigma=1, tau=3)
d <- geoData(sim$longitude, sim $latitude)
p <- geoParams(data = d, sigma_mean = 1.0, sigma_squared_shape = 2)
m <- geoMCMC(data = d, params = p)
gp <- geoProfile(m$posteriorSurface)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.