Re: [R] What does class call mean? How do I make class formula into a call?

2011-06-28 Thread Rita Carreira
mean? How do I make class formula into a call? This is really a misleading subject: it is already a call! From ?class Many R objects have a ‘class’ attribute, a character vector giving the names of the classes from which the object _inherits_. If the object does not have a class attribute

Re: [R] What does class call mean? How do I make class formula into a call?

2011-06-26 Thread peter dalgaard
On Jun 26, 2011, at 00:10 , David Winsemius wrote: On Jun 25, 2011, at 4:33 PM, peter dalgaard wrote: I.e., an unevaluated formulae expression (as in quote(y~x)) is class call, as is an unclassed formula object. So it is pretty easy to have objects of class formula very similar to

[R] What does class call mean? How do I make class formula into a call?

2011-06-25 Thread StellathePug
]]) [1] call Rita = If you think education is expensive, try ignorance.--Derek Bok -- View this message in context: http://r.789695.n4.nabble.com/What-does-class-call-mean-How-do-I-make-class-formula-into-a-call-tp3623733p3623733.html Sent from the R help

Re: [R] What does class call mean? How do I make class formula into a call?

2011-06-25 Thread David Winsemius
]]) [1] formula class(eqSystem) [1] list class(eqSystem[1]) [1] list class(eqSystem[[1]]) [1] call Rita = If you think education is expensive, try ignorance.--Derek Bok -- View this message in context: http://r.789695.n4.nabble.com/What-does-class-call-mean-How

Re: [R] What does class call mean? How do I make class formula into a call?

2011-06-25 Thread peter dalgaard
On Jun 25, 2011, at 15:24 , David Winsemius wrote: On Jun 24, 2011, at 6:12 PM, StellathePug wrote: Hello R Users! I have a list called tabs that I would like to have the same structure as my list eqSystem. The two look like they have the same structure but they are different because

Re: [R] What does class call mean? How do I make class formula into a call?

2011-06-25 Thread David Winsemius
On Jun 25, 2011, at 4:33 PM, peter dalgaard wrote: On Jun 25, 2011, at 15:24 , David Winsemius wrote: On Jun 24, 2011, at 6:12 PM, StellathePug wrote: Hello R Users! I have a list called tabs that I would like to have the same structure as my list eqSystem. The two look like they have

[R] What does class call mean? How do I make class formula into a call?

2011-06-24 Thread Rita Carreira
I have a list called tabs that I would like to have the same structure as my list eqSystem. The two look like they have the same format but they are different because when I look at their attributes, class(eqSystem[[1]]) is call but class(tabs[[1]]) is formula. I want to have class(tabs[[1]])

Re: [R] What does class call mean? How do I make class formula into a call?

2011-06-24 Thread Bert Gunter
Well, this is kind of complicated. The first place you should go for help is not this list, but the R docs. Specfically ?call. This assumes familiarity with R's (S3) class system and language structure, however.. For this, I suggest ?UseMethod and consulting the R Language Definition Manual.