Skip to content
Prev 139236 / 398506 Next

Error: arguments imply differing number of rows

I am simply trying to put 4 boxplots on the same plot, but I keep  
getting the "arguments imply differing number of rows" error. Here, I  
have two variables: a factor x of length 1762 (with 4 levels) and a  
numeric variable y of length 1762. How is it that my arguments imply  
differing numbers of rows?
[1] 1762
[1] 1762
[1] TRUE
[1] TRUE
Error in data.frame(group, x) :
   arguments imply differing number of rows: 1762, 2165
Error in data.frame(group, x) :
   arguments imply differing number of rows: 1762, 2165