Re: [R] Errore : requires numeric/complex matrix/vector arguments

2013-10-21 Thread PIKAL Petr
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of Berend Hasselman > Sent: Sunday, October 20, 2013 4:31 PM > To: valentina colombo > Cc: r-help@r-project.org help > Subject: Re: [R] Errore : requires numeric/complex matrix/vector > arguments &g

Re: [R] Errore : requires numeric/complex matrix/vector arguments

2013-10-20 Thread Berend Hasselman
) mZ <- matrix(runif(N*4),ncol=4) If you want to include data in a text-only mail use dput. Berend > > > > Subject: Re: [R] Errore : requires numeric/complex matrix/vector arguments > > From: b...@xs4all.nl > > Date: Sun, 20 Oct 2013 13:29:37 +0200 > > CC: r-help@

Re: [R] Errore : requires numeric/complex matrix/vector arguments

2013-10-20 Thread Berend Hasselman
On 20-10-2013, at 13:08, valentina colombo wrote: > Dear R users,I'm a new user of R. I'm trying to do a LM test an there is this > type of error: Error in t(mX) %*% mX : requires numeric/complex matrix/vector > arguments. > To be clear I write down the code in which mY ( 126,1 ) mX (126,1)

Re: [R] Errore : requires numeric/complex matrix/vector arguments

2013-10-20 Thread John Kane
l.it > Sent: Sun, 20 Oct 2013 11:08:08 + > To: r-help@r-project.org > Subject: [R] Errore : requires numeric/complex matrix/vector arguments > > Dear R users,I'm a new user of R. I'm trying to do a LM test an there is > this type of error: Error in t(mX) %*% mX : r

[R] Errore : requires numeric/complex matrix/vector arguments

2013-10-20 Thread valentina colombo
Dear R users,I'm a new user of R. I'm trying to do a LM test an there is this type of error: Error in t(mX) %*% mX : requires numeric/complex matrix/vector arguments. To be clear I write down the code in which mY ( 126,1 ) mX (126,1) mZ(126,1) are matrix. LMTEST <- function(mY, mX, mZ)#mY,