R: draw a single bar

minibar {flextable} | R Documentation

## 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

[Package flextable version 0.4.5 Index]