SEARCH
You are in browse mode. You must login to use MEMORY

   Log in to start


From course:

IST 387 Fall 2020

» Start this Course
(Practice similar questions for free)
Question:

What is the difference between a histogram and bar chart?

Author: Zhasmina Yanislavova Tacheva



Answer:

Histograms are used for continuous variables; bar graphs are used for discrete/categorical variables. ggplot(data = mtcars,aes(x=mpg))+geom_histogram() ggplot(data = mtcars,aes(x=gear))+geom_bar()


0 / 5  (0 ratings)

1 answer(s) in total