Learn R Programming

mgwrsar (version 1.1)

plot,mgwrsar,missing-method: Plot method for mgwrsar model

Description

Plot method for mgwrsar model

Usage

# S4 method for mgwrsar,missing
plot(
  x,
  y,
  type = "coef",
  var = NULL,
  crs = NULL,
  mypalette = "RdYlGn",
  opacity = 0.5,
  fopacity = 0.5,
  nbins = 8,
  radius = 500,
  mytile = "Stadia.StamenTonerBackground",
  myzoom = 8,
  myresolution = 150,
  LayersControl = TRUE,
  myzoomControl = TRUE,
  mytile2 = NULL,
  ScaleBar = NULL,
  ScaleBarOptions = list(maxWidth = 200, metric = TRUE, imperial = FALSE, updateWhenIdle
    = TRUE),
  MyLegendTitle = NULL,
  lopacity = 0.5
)

Value

A Interactive Web Maps with local parameters plot and Open Street Map layer.

Arguments

x

A model of class mgwrsar-class.

y

missing

type

default 'coef', for plotting the value of the coefficients. Local t-Student could also be plot using 't_coef', residuals using 'residuals' and fitted using 'fitted'.

var

Names of variable to plot.

crs

A CRS projection.

mypalette

A leaflet palette.

opacity

Opacity of border color.

fopacity

Opacity of fill color.

nbins

nbins.

radius

radius of circle for plot of points.

mytile

tile 1.

myzoom

level of zoom for tile 1.

myresolution

resolution for tile 1.

LayersControl

layers contols.

myzoomControl

zoem control.

mytile2

tile 2.

ScaleBar

ScaleBar.

ScaleBarOptions

options for ScaleBar.

MyLegendTitle

Legend title.

lopacity

opacity for legend.