Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Mathematics questions

Question

Discuss whether happier people make more money.

Answered: 1 week ago