[R] duplicates including first occurrence

2019-01-28 Thread Knut Krueger via R-help
Ho to all i get the results mtcars[duplicated(mtcars$wt,fromLast=TRUE),] Hornet Sportabout 18.7 8 360.0 175 3.15 3.44 17.02 0 032 Duster 36014.3 8 360.0 245 3.21 3.57 15.84 0 034 Merc 280 19.2 6 167.6 123 3.92 3.44 18.30 1 044 mtcars[duplic

[R] ggplot - position=position_dodge()) and scale_y_continuous

2019-07-30 Thread Knut Krueger via R-help
Hello to all, how can I can set both y as character to get the bars beside like example 1 and use scale_y_continuous And an additional question: why are the bar colors of x-axes = 8 turned datax= data.frame("fac"=c(c(rep(1,10),c(rep(2,10,"x"=c(c(1:10,c(1:10))), "y"=c(89,69,46,57