Description Usage Arguments Details Value Author(s) Examples
Creates the base map area for the plotting and calculates the prior, has the option to plot the plot the prior on a google map. Note: needs an internet connection to extract the map information from Google.
1 | CreateMaps(PlotPrior = T)
|
PlotPrior |
|
This is the essential step in the model where the search area is defined around the data and the prior tau is generated. It is at this stage that the prior on soruce emergence (tau) is plotted (if PlotPrior =T
) and the user can examine the map area and prior tau to determine if they are meaningful.
xmin |
a value for the minimum dimensions of the x axis (longitude) |
xmax |
a value for the maximum dimensions of the x axis (longitude) |
ymin |
a value for the minimum dimensions of the y axis (latitude) |
ymax |
a value for the maximumdimensions of the y axis (latitude) |
priorx |
a value for the centre of the prior in the x dimension |
priory |
a value for the centre of the prior in the y dimension |
xvec |
a vector representing the size of the x axis |
yvec |
a vector representing the size of the y axis |
xmat |
a matrix of length |
ymat |
a matrix of length |
priormat |
the matrix of prior vaules of tau |
MD, Stevenson
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | ## Not run:
### Load in data
### Assign a matrix of lon lat values to mydata
LoadData(Data=mydata)
### Load the model and graphic parameters (using defaults here)
ModelParameters()
GraphicParameters()
### Create the prior and maps
CreateMaps(PlotPrior = T)
### Create prior without the map
CreateMaps(PlotPrior = F)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.