need help with ggplot/filter/aes/(re)order 1. how to filter by specific data in a column of a dataframe
Fantastic news! We've Found the answer you've been seeking!
Question:
need help with ggplot/filter/aes/(re)order
1. how to filter by specific data in a column of a dataframe
ex: in a dataframe called Netflix there is a column called type which consists of data either being "TV Shows" or "Movies", so how would i filter by just "TV Shows" in a ggplot
2. how to order the x axis in ascending order in a ggplot bar plot using geom_bar()
ex: in that same dataframe called Netflix there is a column called "duration" that is plotted on the x axis that needs to be in ascending order
please help asap
Related Book For
Introduction To Statistical Investigations
ISBN: 9781118172148
1st Edition
Authors: Beth L.Chance, George W.Cobb, Allan J.Rossman Nathan Tintle, Todd Swanson Soma Roy
Posted Date: