Description Usage Arguments Value See Also Examples
Finds the maximum likelihood point from a maxgrid object.
1 | maxgrid(dg)
|
dg |
an object returned by a |
returns a list l
including parameters used in the dens.grid
call of l$params
,
the coordinates of the maximum on the grid l$xy
, and the value of the maximum l$value
.
plot3d.densgrid
for a 3D visualisation of the computed values on the grid.
1 2 3 4 5 6 7 8 9 10 11 | n.site<-2
xy<-matrix(runif(2 * n.site, 0, 0.5), ncol = 2)
param<-c(0.5,1.5)
n.obs<-2
library(SpatialExtremes)
data<-t(rmaxstab(n.obs, xy, "whitmat",
nugget = 0, range = param[1], smooth = param[2]))
d<-dens.grid.maxstable(data,c(NA,NA),seq(0.1,1,length=3),seq(1,2,length=3),
category="normal",
spatial=list(sites=xy,family=spatialWhittleMatern))
maxgrid(d)$xy
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.