[S] Q : Pb with cut

Nour-Eddin Elfaouzi (elfaouzi@inrets.fr)
Fri, 26 Jun 1998 09:45:06 +0200

Hi all;

I've some trouble with cut function. When I try to use for example hist I get always this error :
Error in X[, 2]: Array subscript (2) out of bounds, should be at most 1

After some verification I found out that this message is generated by cut function and trying to create a category object by dividing continuous variable, sayvz into intervals
> cut(vz,breaks=xb)

I get the same message.

Any hints or explanation of this mysterious behavior ?
Thanks in advance.
This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news