Skip to content
Prev 139291 / 398506 Next

Error: arguments imply differing number of rows

Try str() on both objects and see what you get.  It
does not look like you have two vectors of
length=1762.

See this for example
=====================================================
aa <- c("A", "B", "D", "D","B", "B","D", "A", "C",
"C", "A","D")
bb <- rnorm(length(aa))
cc <- matrix(rnorm(length(aa)),nrow=2)

length(bb)
length(cc)

boxplot(bb~aa)
boxplot(cc~aa)
======================================================

--- "Jeffrey T. Steedle" <jsteedle at stanford.edu>
wrote:
[[elided trailing spam]]