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
It looks like you have posted in HTML and your code is basically unreadable. Please repost in text format. Also I'd suggest reading one or both of the following lists for some hints on how to create a good question. I think a key point here is to supply sample data using the dput() function a