Skip to content
Back to formatted view

Raw Message

Message-ID: <1291762900892-3077400.post@n4.nabble.com>
Date: 2010-12-07T23:01:40Z
From: madr
Subject: longer object length is not a multiple of shorter object length

In datamatrix[, "y"] == datamatrix[, "y"][-1] :
  longer object length is not a multiple of shorter object length

out = c(FALSE,datamatrix[,'y'] == datamatrix[,'y'][-1])

and I do not know why I get that error, the resulting out matrix is somehow
one row larger than datamatrix...
all I try to do is filter matrix by dropping rows where [,'y'][-1] ==
[,'y'][+1]
-- 
View this message in context: http://r.789695.n4.nabble.com/longer-object-length-is-not-a-multiple-of-shorter-object-length-tp3077400p3077400.html
Sent from the R help mailing list archive at Nabble.com.