From jorismeys at gmail.com  Fri Oct  3 14:32:16 2014
From: jorismeys at gmail.com (Joris Meys)
Date: Fri, 3 Oct 2014 14:32:16 +0200
Subject: [Rd] How I() works in a formula
Message-ID: <CAO1zAVYHdBEqX0M-wH5OsGNxe2P1BKLS07cXBba9yQTnBtPN5g@mail.gmail.com>

Dear all,

I'm updating a package regarding a new type of models, and I'm looking to
extend the formula interface with two functions (L() and R() ) for
construction of these models. I want to use as much of the formula
interface as possible, and hoped to do something similarly to I().

I know the I() function does nothing more than add the class "AsIs". I've
been browsing the source code of R for a couple of days now trying to
locate where this class assignment gets translated into a specific action,
but i couldn't locate it. I've been as far as the internal C function
modelframe.

Any pointers on how I() is processed internally are greatly appreciated.

Cheers
Joris

-- 
Joris Meys
Statistical consultant

Ghent University
Faculty of Bioscience Engineering
Department of Mathematical Modelling, Statistics and Bio-Informatics

tel : +32 9 264 59 87
Joris.Meys at Ugent.be
-------------------------------
Disclaimer : http://helpdesk.ugent.be/e-maildisclaimer.php

	[[alternative HTML version deleted]]



[Rd] How I() works in a formula
Joris Meys