bar.coor: create bar object

View source: R/shade.fun.r

bar.coorR Documentation

create bar object

Description

a function for create a bar object

Usage

bar.coor(
  obj,
  var,
  data,
  xmax = 0.85,
  ymax = 2,
  bar.col = c("#E0FFFF", "#FAFAD2", "#FFA07A", "#C71585", "#DC143C", "#B8860B",
    "#00BFFF", "#ADFF2F")
)

Arguments

obj

a inzightshapemap object

var

a character vectror, the column name of data

data

the data set

xmax

the maximum weight of the bar

ymax

the maximum height of the bar

bar.col

the color of each bar

Author(s)

Jason


iNZightVIT/iNZightMaps documentation built on Feb. 3, 2024, 4:42 p.m.