tm_vars: tmap function to specify variables

View source: R/tm_vars.R

tm_varsR Documentation

tmap function to specify variables

Description

tmap function to specify all variables in the shape object

Usage

tm_vars(
  x = NA,
  dimvalues = NULL,
  n = NA,
  multivariate = FALSE,
  animate = FALSE
)

Arguments

x

variable names, variable indices, or a dimension name

dimvalues

dimension values

n

if specified the first n variables are taken (or the first n dimension values)

multivariate

in case multiple variables are specified, should they serve as facets (FALSE) or as a multivariate visual variable?

animate

should the variable(s) be animated? (experimental)


r-tmap/tmap documentation built on June 1, 2025, 1:56 p.m.