I tried setting exclude = . I'm not sure, but to me, it did not seem to work
as expected. But i did have success with exclude = NULL.
(I'm using R 2.4.1)
mydata=c(33,22,44,NA,33,22,NA)
myfactor.try1 = factor(mydata, exclude=)
myfactor.try2 = factor(mydata, exclude=NULL)
I have a two question regarding the aggregate.data.frame method of the
aggregate function.
My situation:
a. My x variable is a data.frame (mydf) with two columns, both columns of
type/format numeric.
b. My by variable is a data.frame(mybys) with two columns, both columns of
type/format
The behaviour has been changed in the R-devel version of R, so the 'by'
columns are not converted to factors.
On Tue, 31 Jul 2007, Thomas Pujol wrote:
I have a two question regarding the aggregate.data.frame method of the
aggregate function.
My situation:
a. My x variable is a data.frame