Skip to content
Back to formatted view

Raw Message

Message-ID: <23342888.post@talk.nabble.com>
Date: 2009-05-02T04:19:05Z
From: onyourmark
Subject: any suggestions on this error?

Error in matrix(unlist(value, recursive = FALSE, use.names = FALSE), nrow =
nr,  : 
  invalid 'ncol' value (too large or NA)

the statement was:
for (i in v) {for (j in m[0,]){if(v[i]==m[0,j]){M[,-j]}}} 


where 'v' is a vector, and 'm' and 'M' are both matrices.
-- 
View this message in context: http://www.nabble.com/any-suggestions-on-this-error--tp23342888p23342888.html
Sent from the R help mailing list archive at Nabble.com.