Skip to contents

Generates a Leaflet widget to plot geostat data. Requires leaflet and leaflet.extra package.

Usage

geo.plot(
  data,
  mesh = NULL,
  n = 0,
  palette = c("blue", "white", "red"),
  domain = data[, 3],
  tile.provider = providers$Stamen.Terrain
)

Arguments

data

Data frame. Should countain 3 collumns with the latitude, longitude and measurements.

mesh

inla.mesh object.

n

Integer. Plots the index number of the n indeces with the largest BF sensitivity.

palette

Character. Palette to use in Leaflet widget.

domain

Vector. Domain to use in palette scale

tile.provider

Character. Name of the Leaflet tile provider.

Value

Leaflet widget