Skip to content
Back to formatted view

Raw Message

Message-ID: <1353087756278-4649774.post@n4.nabble.com>
Date: 2012-11-16T17:42:36Z
From: frespider
Subject: Multiple Vector with  matrix in R
In-Reply-To: <1353087311278-4649771.post@n4.nabble.com>

Hi A.K

Here is the error I get when I use %*%
> dim(X)
[1] 71142   219
> length(Weights)
[1] 71142
> Wx<-diag(Weights)%*%X
Error in array(0, c(n, p)) : 'dim' specifies too large an array

That is why I asked for different and faster method



--
View this message in context: http://r.789695.n4.nabble.com/Multiple-Vector-with-matrix-in-R-tp4649764p4649774.html
Sent from the R help mailing list archive at Nabble.com.