s-news
[Top] [All Lists]

[S] Q: stringFactor in tapply() and split()

To: "'S-news@wubios.wustl.edu'" <S-news@wubios.wustl.edu>
Subject: [S] Q: stringFactor in tapply() and split()
From: Vadim Ogranovich <vograno@arbitrade.com>
Date: Wed, 26 Jan 2000 19:42:50 -0600
Sender: owner-s-news@wubios.wustl.edu
Hi, I was trying to use "stringFactor" class instead of the old "category"
and ran into a problem: the class is of mode "list" and as such can not be
used in tapply() or split, e.g.

split(vector, someStringFactorObject)

reports this error: 'Problem in duplicated(x, incomparables): mode "list"
not valid for matching'

Are 'tapply' and 'split' also superseded by some other functions?

Thanks,
Vadim 

-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu.  To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message:  unsubscribe s-news

<Prev in Thread] Current Thread [Next in Thread>