make_bar: make_bar make a bar chart

Description Usage Arguments Examples

Description

make_bar make a bar chart

Usage

1

Arguments

x

- a data.frame to plot

colors

- a vector that decide the group colors

title

- the title of the plot

Examples

1
2
3
x<-matrix(c(500,2000,36),3,1,dimnames =list(c("a","b","c")))
          names(x)<-c("a","b","c")
           make_bar(x, c("red","blue","yellow"), "title")

WEILU-ZHAO/marital documentation built on May 25, 2019, 7:16 a.m.