[R] $

Joerg van den Hoff j.van_den_hoff at fz-rossendorf.de
Tue Jun 20 18:21:09 CEST 2006


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