Skip to content
Back to formatted view

Raw Message

Message-ID: <87d30fajtn.fsf@gnu.org>
Date: 2012-10-18T15:20:04Z
From: Sam Steingold
Subject: how to concatenate factor vectors?
In-Reply-To: <CAAmySGP=zdPM-2Um-5d++8PS3A+EbVwpKN-fgnjfdiXoF87=gw@mail.gmail.com> (R. Michael Weylandt's message of "Thu, 18 Oct 2012 16:01:37 +0100")

> * R. Michael Weylandt <zvpunry.jrlynaqg at tznvy.pbz> [2012-10-18 16:01:37 +0100]:
>
> On Thursday, October 18, 2012, Sam Steingold wrote:
>
>> > * Bert Gunter <thagre.oregba at trar.pbz> [2012-10-17 23:21:44 -0700]:
>> >
>> > However, Is level "5" in 'a' the same as level "5" in 'b' ?
>>
>> yes, of course.
>> would anyone want to _different_ factors with identical string
>> representations?!
>
> Off the cuff, studying education and grades: F could be a grade or a
> gender.

would you ever want to concatenate a vector of grades with a vector of
genders?
as I said elsewhere, the function which concatenates factors must check
that the levels are identical before proceeding.

-- 
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000
http://www.childpsy.net/ http://pmw.org.il http://camera.org
http://openvotingconsortium.org http://truepeace.org http://jihadwatch.org
Ernqvat guvf ivbyngrf QZPN.