r user wrote: > I am using the R 2.2.1 in a Windows XP environment. > > I have a dataframe with 12 columns and 1,000 rows. > (Some of the rows have 1 or fewer values.)
fewer than 1? So you mean 0? Well, the commonly used estimator for the variance is defined for n>=2 elements only! > I am trying to use rowVars to calculate the variance > of each row. I don't know a function rowVars in R-2.2.1 - and cannot find it ... > I am getting the following message: > “Error in na.remove.default(x) : length of 'dimnames' > [1] not equal to array extent” Hard to tell without knowing what you actually did. Uwe Ligges > > Is there a good work-around? > > ______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
