[R] Cbind warning message

2003-10-16 Thread Paul Lemmens
Hello! I'm not grasping why cbind (in the code below) warns that Warning message: number of rows of result is not a multiple of vector length (arg 2) in: cbind(z, p) when I do sections - function(length, parts) { p - 1:parts q - length %/% parts z - array(p,

Re: [R] Cbind warning message

2003-10-16 Thread Peter Dalgaard BSA
Paul Lemmens [EMAIL PROTECTED] writes: Hello! I'm not grasping why cbind (in the code below) warns that Warning message: number of rows of result is not a multiple of vector length (arg 2) in: cbind(z, p) when I do sections - function(length, parts) { p - 1:parts