On 2010-06-14 13:25, Moimt wrote:

HI,
I am a new user of R and want to analyse some data using npmc. My data have
several levels of factor (Site, Year and Season) and several variable
(Percentages).
I have tried to use npmc but I always get an error message. My data are in a
table following this example:

Site    YEar    Season    Var1     Var2   ....
A       2009    Dry          10        56
B   ........

here is the error message I get: Erreur dans as.vector(x, mode) : argument
'mode' incorrect.

How should I use the npmc formula?

Thank you for your help

What do you mean by "data are in a table"?
Is this a data.frame (as required by npmc)?

I think that npmc can only handle one numerical and
one categorical variable and they must be named "var"
and "class".

  -Peter Ehlers

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to