Re: [R] ggplot pointrange from other df and missing legend

2022-05-16 Thread PIKAL Petr
Hallo Rui Thanks. After I sent the first mail I noticed the missing tablePal. palette("Tableau 10") tablePal <- palette() ggplot() + geom_col( data=test, aes(x=Sample, y=value, fill=SSAtype), position="dodge" ) + geom_pointrange( data=test.ag, aes(x=Sample, y=av

[R] ggplot pointrange from other df and missing legend

2022-05-16 Thread PIKAL Petr
Hallo all Here are the data from dput test <- structure(list(Sample = c("A", "A", "A", "A", "A", "A", "B", "B", "B", "B", "B", "B", "C", "C", "C", "C", "C", "C"), SSAtype = c("one", "one", "one", "two", "two", "two", "one", "one", "one", "two", "two", "two", "one", "one", "one", "two", "