Re: [R] Help with ggplot plot

2020-02-28 Thread Bill Poling
Hello Rui, this is it, thank you very much, sorry if my request was confusing. WHP From: Rui Barradas Sent: Friday, February 28, 2020 2:15 PM To: Bill Poling ; r-help (r-help@r-project.org) Subject: Re: [R] Help with ggplot plot [External Email] Hello, Now I'm not understanding, you

Re: [R] Help with ggplot plot

2020-02-28 Thread Rui Barradas
ProductLineFlag)) + #Getting worse again geom_bar(stat ="identity") + geom_col(position = 'dodge') + facet_grid("InOutFlagAlpha") Thoughts? WHP From: Rui Barradas Sent: Friday, February 28, 2020 11:06 AM To: Bill Poling ; r-help (r-help@r-project.

Re: [R] Help with ggplot plot

2020-02-28 Thread Bill Poling
geom_col(position = 'dodge') + facet_grid("InOutFlagAlpha") Thoughts? WHP From: Rui Barradas Sent: Friday, February 28, 2020 11:06 AM To: Bill Poling ; r-help (r-help@r-project.org) Subject: Re: [R] Help with ggplot plot [External Email] Hello, If you want faceting, a sq

Re: [R] Help with ggplot plot

2020-02-28 Thread Rui Barradas
Hello, If you want faceting, a square grid can do it. ggplot(tmp, aes(x=Region, y=ProductLineID, fill=Region)) + geom_bar(stat = "identity") + facet_grid(InOutFlagAlpha ~ ProductLineFlag) Hope this helps, Rui Barradas Às 16:50 de 28/02/20, Bill Poling escreveu: #RStudio Version 1.2.501

[R] Help with ggplot plot

2020-02-28 Thread Bill Poling
#RStudio Version 1.2.5019 sessionInfo() # R version 3.6.2 (2019-12-12) #Platform: x86_64-w64-mingw32/x64 (64-bit) #Running under: Windows 10 x64 (build 17134) Hello, I am sure I am missing something simple. Here is my data, its aggregated and if need be I can unaggregate I guess: dput(tmp) struc