Re: [R] Error in rowMeans function

2012-10-15 Thread PIKAL Petr
Hi -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- project.org] On Behalf Of Gunsalus, Catherine Sent: Friday, October 12, 2012 8:52 PM To: r-help@r-project.org Subject: [R] Error in rowMeans function Hello, I am trying to create parcels

Re: [R] Error in rowMeans function

2012-10-15 Thread yrosseel
On 10/15/2012 08:28 AM, PIKAL Petr wrote: Hi -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- project.org] On Behalf Of Gunsalus, Catherine Sent: Friday, October 12, 2012 8:52 PM To: r-help@r-project.org Subject: [R] Error in rowMeans function Hello, I

Re: [R] Error in rowMeans function

2012-10-15 Thread PIKAL Petr
To: r-help@r-project.org Subject: Re: [R] Error in rowMeans function On 10/15/2012 08:28 AM, PIKAL Petr wrote: Hi -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- project.org] On Behalf Of Gunsalus, Catherine Sent: Friday, October 12, 2012 8:52 PM

[R] Error in rowMeans function

2012-10-12 Thread Gunsalus, Catherine
Hello, I am trying to create parcels for a CFA model. I am trying to average 6 sets of 3 variables each into parcels. I don't understand why I am getting an error message as follows: Thanks for your help, Catherine atds1par - rowMeans(semHW1dat1[, c(atds1, atds2, atds3)], na.rm=TRUE)