polysph.area.Wr <- function(method="grid", ...) {
stopifnot(method=="integral" || method=="grid" || method=="exact")
areaWr <- switch(method,
"grid"={polysph.area.Wr.grid(...)},
"integral"= {polysph.area.Wr.int(...)},
"exact"={polysph.area.Wr.exact(...)}
)
areaWr
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.