Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

How to use facet_wrap or grid to combine these two separate code

$
0
0

@vijaypalmanit wrote:

Hi Friends,

I am using below two line of code to analyze my data in two range of salaries, so I have taken subset, can someone help me to combine these two line of code using facet_wrap or facet_grid or any other technique

ggplot(auto[auto$income<919400,],aes(type))+geom_bar(aes(fill=type))

ggplot(auto[auto$income>=919400,],aes(type))+geom_bar(aes(fill=type))

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles