[R] ggplot facet and subsetting

John Kane jrkrideau at inbox.com
Wed Nov 26 18:13:00 CET 2014


John Kane
Kingston ON Canada
> This is OK but only in BW
> p<-ggplot(vec.c, aes(x=fi, y=nad1mi))
> p+geom_point(size=5)+geom_line()+facet_grid(.~stroj)
p <- ggplot(vec.c, aes(x=fi, y=nad1mi, colour = stroj))

> and this is mismatched too
> p<-ggplot(vec.c, aes(x=fi, y=vec.c[,2]))
> p+geom_point(size=5)+geom_line()+facet_grid(.~stroj)

I don'[ understand what you want  here so cannot suggest anything

Can't remember your password? Do you need a strong and secure password?
Use Password manager! It stores your passwords & protects your account.

More information about the R-help mailing list