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

peter dalgaard pdalgd at gmail.com
Thu Dec 25 12:02:19 CET 2014

> On 25 Dec 2014, at 08:15 , Mike Miller <mbmiller+l at gmail.com> wrote:
>> "is.vector returns TRUE if x is a vector of the specified mode having
>> no attributes other than names. It returns FALSE otherwise."
> So that means that a vector in R has no attributes other than names.

Wrong. Read carefully. There are 

- vectors
- vectors having no attributes other than names

Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com

More information about the R-help mailing list