Skip to content

Question regarding error "x and y lengths differ"

2 messages · Sean Doyle, Jim Lemon

#
On 04/30/2013 11:38 AM, Sean Doyle wrote:
Hi Sean,
Without doing your homework for you, I would suggest trying this:

length(samp_mean)
length(zstar*SE)
length(1:m)

I would be very surprised if you got the same answer for all three. Also 
you might want to read the help page for matplot carefully to decide 
which is the "x" and which is the "y" you want to plot.

Jim