Milton Cezar Ribeiro wrote:
Hi R-friends
I don´t know why the min() function below return the min value as factor.
When i force the aicc.min using a as.numeric() function, it return a factor
index (1,2,..) and not min value as I want. By the way, I included a
sessionInfo() at the
Hi Milton!
I don't know why, but this thing happend with me too, quite a lot times.
It's a useful way that convert the value type like that:
*as.numeric(as.character(min(...)))*
Zoltan
2007/1/9, Milton Cezar Ribeiro [EMAIL PROTECTED]:
Hi R-friends
I don´t know why the min() function below
Dear Peter,
I tryed something like
head(especies.aicc)
especie aicc
1 Attila.rufus 17.15934
2 Attila.rufus 11.41371
3 Attila.rufus 11.41371
4 Attila.rufus 19.55998
5 Attila.rufus 17.23780
6 Attila.rufus 19.22545
especies.min-aggregate.data.frame(especies.aicc,list
Milton Cezar Ribeiro wrote:
Dear Peter,
I tryed something like
head(especies.aicc)
especie aicc
1 Attila.rufus 17.15934
2 Attila.rufus 11.41371
3 Attila.rufus 11.41371
4 Attila.rufus 19.55998
5 Attila.rufus 17.23780
6 Attila.rufus 19.22545
Milton,
have you looked at the structure of your data.frame?
str(especies.aicc)
Are you sure especies.aicc is defined as numeric?
b
On Jan 9, 2007, at 10:51 AM, Milton Cezar Ribeiro wrote:
Dear Peter,
I tryed something like
head(especies.aicc)
especie aicc
1