[R] ave(x, y, FUN=length) produces character output when x is character

Mike Miller mbmiller+l at gmail.com
Thu Dec 25 03:49:47 CET 2014


On Wed, 24 Dec 2014, Mike Miller wrote:

> Also, regarding the sacred text, "x A numeric." is a bit terse.  The 
> same text later refers to length(x), so I suspect that "A numeric" is 
> short for "A numeric vector", but that might not mean "a vector of 
> 'numeric' type."


I just realized that numeric type includes integer so that anything of 
type integer also is type numeric.  I'm working on another message.

Mike



More information about the R-help mailing list