Re: [R] Creating hanging bar plot in r from dplyr

2019-04-20 Thread Scott Colwell
That is perfect. Thanks! -- Scott R. Colwell, PhD On 2019-04-20, 1:23 PM, "Jeff Newmiller" wrote: Not really sure I understand what you want. Here is some code to consider: library(ggplot2) library(dplyr) library(tidyr) dta <- read.t

Re: [R] Creating hanging bar plot in r from dplyr

2019-04-20 Thread Jeff Newmiller
Not really sure I understand what you want. Here is some code to consider: library(ggplot2) library(dplyr) library(tidyr) dta <- read.table( text = "samp.N RSQMRB_uc MRB_sb MRB_bp 50 0.3 1.4237.6 37.6 50 0.4 8.6143.1 43.1 50 0.5

[R] Creating hanging bar plot in r from dplyr

2019-04-20 Thread Scott Colwell
I am trying to figure out how to create a hanging bar plot from dplyr. I have used dplyr as follows: table4 <- cr %>% group_by(samp.N, RSQ) %>% summarize( MRB_uc = mean(CF.F1F2/0.40*100)-100, MRB_sb = mean(SBC.F1F2.Alpha/0.40*100) - 100, MRB_bp = mean(BPC.F1F2.Alpha/0.40*100) - 100