Re: [Rd] Characters vs. factors

2009-10-05 Thread David M Smith
On Mon, Oct 5, 2009 at 4:33 PM, hadley wickham wrote: > It seems like a recent trend in R has been to make character vectors > and factors almost equivalent (apart from the way that factors always > remember their original range). There are a few exceptions: A related issue is that modeling func

[Rd] Characters vs. factors

2009-10-05 Thread hadley wickham
It seems like a recent trend in R has been to make character vectors and factors almost equivalent (apart from the way that factors always remember their original range). There are a few exceptions: * summary.character != summary.factor * table(x, exclude = NULL) != table(factor(x), exclude=NUL