Learn R Programming

flextable (version 0.4.6)

minibar: draw a single bar

Description

This function is used to insert bars into flextable with function display

Usage

minibar(value, max, barcol = "#CCCCCC", bg = "transparent",
  width = 1, height = 0.2)

Arguments

value

bar height

max

max bar height

barcol

bar color

bg

background color

width, height

size of the resulting png file in inches