search for: cosff3b

Displaying 2 results from an estimated 2 matches for "cosff3b".

Did you mean: coeff3
2018 Jan 15
0
barplot that displays sums of values of 2 y colums grouped by different variables
...se( n = sum( n ) , y = sum( y ) ) %>% gather( Response, value, -city ) ) ggplot( dta2, aes( x=city, y=value, fill = Response ) ) + geom_bar( stat="identity", position="dodge" ) #' ![](https://i.imgur.com/cosFf3B.png) #--- On Mon, 15 Jan 2018, kenneth dyson wrote: > I am trying to create a barplot displaying the sums of 2 columns of data > grouped by a variable. the data is set up like this: > > "city" "n" "y" <br> > mon 100 200 <br> > tor 209 3...
2018 Jan 15
5
barplot that displays sums of values of 2 y colums grouped by different variables
I am trying to create a barplot displaying the sums of 2 columns of data grouped by a variable. the data is set up like this: "city" "n" "y" <br> mon 100 200 <br> tor 209 300 <br> edm 98 87 <br> mon 20 76 <br> tor 50 96 <br> edm 62 27 <br> the resulting plot should have city as the x-axis, 2 bars per city, 1 representing