Easiest way is probably to make grouprep a factor and insert a level
without observations such as in:
mydata$grouprep <- factor(mydata$grouprep, levels =
paste(rep(LETTERS[1:5], each=2), paste("grp", 1:2, sep="")))
beanplot(val~grouprep, data = mydata, ll = 0.04,
main = "example", ylab = "Si
Sorry for the previous error.
Dear Helpful R Users,
I am graphing some data using the beanplot, but I am having trouble
getting the output I desire. I have five tanks (A-E) and 2 groups for
each tank grp1 or grp2, except tank C where there is only grp1. (I only
changed the grouprep to "C grp1
Dear Helpful R Users,
I am graphing some data using the beanplot, but I am having trouble
getting the output I desire. I have five tanks (A-E) and 2 groups for
each tank grp1 or grp2, except tank C where there is only grp1. (I only
changed the grouprep to "C grp1" for the example) When I plot
3 matches
Mail list logo