Create barcharts for all categorical variables in a data frame.
barcharts( data, fill = "deepskyblue2", color = "grey30", labels = TRUE, sort = TRUE, maxcat = 20, abbrev = 20 )
| data | data frame  | 
    
|---|---|
| fill | fill color for bars  | 
    
| color | color for bar labels  | 
    
| labels | if   | 
    
| sort | if   | 
    
| maxcat | numeric. barcharts with more than this number of bars will not be plotted.  | 
    
| abbrev | numeric. abbreviate bar labels to at most, this character length.  | 
    
a ggplot graph
barcharts(cars74)#> The following variable had more than 20 levels and were not graphed: #> auto