search for: 4error

Displaying 1 result from an estimated 1 matches for "4error".

Did you mean: error
2001 Oct 22
1
No subject
Dear all, I may have overlooked something but the following piece of code causes me trouble: > a_data.frame(1:4) > a X1.4 1 1 2 2 3 3 4 4 > apply(a,2,cat) 1 2 3 4Error in ans[[1]] : subscript out of bounds > apply(a,1,cat) 1234NULL Is this the fact my data.frame has only one dimension ? (and do I forget somewhere (but where ?) to specify not to 'drop' dimension or something similar ?) regards, Laurent Gautier CBS, Building 208, DTU PhD. S...