Description Usage Arguments Examples
Simple function that ensures that sources are in the correct format required by Rgeoprofile. Takes longitude and latitude as input vectors and returns these same values in list format. If no values are input then default values are used.
1 | geoDataSource(longitude = NULL, latitude = NULL)
|
longitude |
the locations of the potential sources in degrees longitude. |
latitude |
the locations of the potential sources in degrees latitude. |
1 2 3 4 5 6 7 | # John Snow cholera data
geoDataSource(WaterPumps$longitude, WaterPumps$latitude)
# simulated data
sim <-rDPM(50, priorMean_longitude = -0.04217491, priorMean_latitude =
51.5235505, alpha=1, sigma=1, tau=3)
geoDataSource(sim$longitude, sim$latitude)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.