search for: bcut

Displaying 1 result from an estimated 1 matches for "bcut".

Did you mean: bcat
2010 Oct 15
1
Beginner question on bar plot
...data into the proper form. I have two variable holding the same factor The variables were created using a cut command, The following simulates that A <- 1:100 B <- 1:100 A[30:60] <- 43 Acut <- cut(A,breaks=c(0,10,45,120),labels=c("low","med","high")) Bcut <- cut(B,breaks=c(0,10,45,120),labels=c("low","med","high")) What I want to do is create a barplot with 3 groups of side by side bars group 1, = "low" and the two bars would be the count for Acut, and the count for Bcut group 2 = "med" and the...