[R] stripchart usage and alternatives

From: Mike R <mike.rstat_at_gmail.com>
Date: Thu 14 Jul 2005 - 10:14:57 EST


r=1:10
u=c("a","a","a","b","b","b","c","d","e","e") uf = factor(u)
rm = tapply(r, uf, mean)

stripchart(r~u,vertical=TRUE,pch=21)
stripchart(rm~levels(uf),vertical=TRUE,pch=3,add=TRUE)



the above code creates a scatter plot of nominal data

are there alternatives to generate the same or similar "kind" of figure?

TIA,
Mike



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Jul 14 10:19:43 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:38 EST