[R] $

Davis, Jacob B. JBDavis at txfb-ins.com
Tue Jun 20 19:03:45 CEST 2006


Thanks for humbling yourself to my level and not answering my question.

If object is user defined is:
 object$df.residual 
 the same thing as
 df.residual(object)

You know I have self taught myself: Visual Basic, PL/SQL, C++, Matlab
and I'm not a programmer.  

In these programs I help beginners all the time with the dumb easy to
find questions because the first few months of working with a new
language can be overwhelming even when the answer is staring you in the
face.

I have been in R less than a month and I only have time to spend maybe
20 minutes a day with it.  I have about five manuals sitting on my desk
that I thumb through while surfing the internet trying to figure things
out.

Asking about the $ sign is a basic question, but until I have spent at
least 400 or so hours with the program I'm not going to know how to help
myself.  I go through this every time I learn a new piece of software
and every time comments like yours come up.  For the most part I'm sure
most of the questions that come up in the list-serve can be answered
independently if enough independent digging is done.  The purpose of the
list-serve is to aid and speed up the learning process.

You know in about six months or a year I'm sure I will be up to speed
and making contributions and then I will be helping to answer the $ sign
questions so that they can be up to speed also and contribute.

In the beginning it's helpful just to know where the resources are so
one can begin to get a feel for how to help their self.

Patrick Burns showed me where S Poetry was, being a newbie I had no idea
what are where that was, now I do.



-----Original Message-----
From: Joerg van den Hoff [mailto:j.van_den_hoff at fz-rossendorf.de] 
Sent: Tuesday, June 20, 2006 11:21 AM
To: Davis, Jacob B. 
Cc: r-help at stat.math.ethz.ch
Subject: Re: [R] $

Davis, Jacob B. wrote:
> If object is user defined is:
> 
>  
> 
> object$df.residual
> 
>  
> 
> the same thing as
> 
>  
> 
> df.residual(object)
> 
>  
> 
> This is my first time to encounter the $ sign in R, I'm new.  I'm
> reviewing "summary.glm" and in most cases it looks as though the $ is
> used to extract some characteristic/property of the object, but I'm
not
> positive.
> 
>  
> 
> Thanks
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
>  
> 
> Jacob Davis
> 
> Actuarial Analyst
> 
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html

`$' is for list component extraction. this is really very basic and, for

  once (I usually don't like this answer...),  looking at the very first

pages of the very first manual, would be not so bad an idea:


http://cran.r-project.org/  --> Manuals --> An Introduction to R



More information about the R-help mailing list