[R-sig-eco] Vegan fisher.alpha error

Jari Oksanen jari.oksanen at oulu.fi
Tue Jun 1 16:48:01 CEST 2010

On 1/06/10 17:04 PM, "Kang Min" <ngokangmin at gmail.com> wrote:

> Hi Jari,
> I'm sorry I didn't get the reply from Ben Bolker, I'll take note of that in
> future. 
> Do missing values include NAs and blanks?

Dear Kang Min,

There are no blanks in R files. If your Excel(TM) file (or similar) had
blanks, these probably were tranformed to NA (missing data), or
alternatively, the reading of the data completely failed. If you want to
change all NA values to zeros in one data frame called 'x', you can say

x[is.na(x)] <- 0

Probably you must check your data before analysis.

Cheers, Jari Oksanen

More information about the R-sig-ecology mailing list