From dmurdoch at pair.com  Tue Jun 24 09:39:31 2003
From: dmurdoch at pair.com (Duncan Murdoch)
Date: Tue Jun 24 14:39:39 2003
Subject: [Rd] Putting an object in a data farme
Message-ID: <1gggfv0aa63o8eqtobj15qt9384gppfpcn@4ax.com>


I'd like to use the modelling functions, in particular  model.frame,
with the S4 orientation objects I'm writing.  However, these use
data.frames, and data.frames object to having my objects put in them.
model.frame checks the mode of the object before it puts it in;
data.frame seems to be trying to coerce my class to data.frame, and
it's failing.

What's necessary to put a nonstandard object into a data.frame?

Duncan Murdoch


[Rd] Putting an object in a data farme
Duncan Murdoch