Re: [R] Translating lm.object to SQL, C, etc function

About this list Date view Thread view Subject view Author view Attachment view

From: +rhelp@howard.fm
Date: Sat 15 Feb 2003 - 08:56:43 EST


Message-id: <20030214215643.9D9931BEF@server2.fastmail.fm>

On Fri, 14 Feb 2003 08:25:05 +0000 (GMT), ripley@stats.ox.ac.uk said:
> On Fri, 14 Feb 2003 j+rhelp@howard.fm wrote:
> > Thanks for the suggestion. After my last post I tried switching from
> > SPLUS to R and discovered the useful xlevels attribute, which when output
>
> Eh? S-PLUS has an "xlevels" attribute, but R has an "xlevels" component
> (speaks the author of both).
>
Thanks for the clarification.

> You add methods to functions, not classes, in R. You could indeed add
> generic accessor functions with lm methods, but their absence (and the
> lack of documentation of the internal structure) should alert you to the
> idea that this is internal structure and not part of a public API.
>
OK, I'll stay away from that then...

> > In SPLUS I came across a useful attribute 'assign', which has a mapping
> > of term names to variables - the same attribute in R doesn't appear to
> > provide this information. Is this available somewhere?
>
> Both have an assign *component*, not attribute. R has a mapping from
> model.matrix columns to terms in its assign component: that's not an
> accurate description of S-PLUS's component ....
>
Now that I look again more closely I see what you mean. Sorry for the
missing that.

-- 
  Jeremy Howard
  jhoward@fastmail.fm

______________________________________________ R-help@stat.math.ethz.ch mailing list http://www.stat.math.ethz.ch/mailman/listinfo/r-help


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Tue 01 Jul 2003 - 09:11:22 EST