Learn R Programming

tmap (version 4.0)

print.tmap: Draw thematic map

Description

Draw thematic map

Usage

# S3 method for tmap
print(
  x,
  return.asp = FALSE,
  show = TRUE,
  vp = NULL,
  knit = FALSE,
  options = NULL,
  in.shiny = FALSE,
  proxy = FALSE,
  ...
)

# S3 method for tmap knit_print(x, ..., options = NULL)

Arguments

x

tmap object.

return.asp

should the aspect ratio be returned?

show

show the map

vp

viewport (for "plot" mode)

knit

A logical, should knit?

options

A vector of options

in.shiny

A logical, is the map drawn in shiny?

proxy

A logical, if in.shiny, is tmapProxy() used?

...

passed on internally (for developers: in "view" mode, the proxy leaflet object is passed to tmapLeafletInit).