bar.chart {vannstats} | R Documentation |
Simplified Bar Chart
Description
This function plots a bar chart (bar.chart) on a given data frame.
Usage
bar.chart(df, var1, lab = FALSE)
Arguments
df |
data frame to read in. |
var1 |
the dependent/outcome variable, |
lab |
logical (default set to |
Value
This function returns the bar chart for var1
in data frame df
.
Examples
data <- mtcars
bar.chart(data,cyl)
[Package vannstats version 1.3.4.14 Index]