Description Usage Format References Examples
Total bill at different time
1 |
A data frame with 4 observations on the following 3 variables.
sex
a factor with levels Female
Male
time
a factor with levels Lunch
Dinner
total_bill
a numeric vector
http://www.sthda.com
1 2 | data(restaurant)
ggplot2.barplot(data=restaurant, xName="sex", yName='total_bill', width=0.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.