Re: [R] How to 'understand' R functions besides reading R codes

From: Joris Meys <jorismeys_at_gmail.com>
Date: Wed, 23 Jun 2010 02:34:57 +0200

There is:

1) read the help files
2) read the vignette (see ?vignette )
2) look up at www.rseek.org
3) check google
4) look at the references mentioned in the help files (or do first if
you're not familiar with the method)
5) ask here

If still nothing :
use another function/method.

Cheers
Joris

On Wed, Jun 23, 2010 at 2:29 AM, Yi <liuyi.feier_at_gmail.com> wrote:
> Apologize for not being clearer earlier. I would like to ask again. Thank
> Joris and Markleeds for response.
>
> Two examples:
>
> 1. Function 'var'. In R, it is the sum of square divided by (n-1) but not by
> n. (I know this in R class)
>
> 2. Function 'lm'. In R, it is the residual sum of square divied by (n-2) not
> by n, the same as in the least squares estimate. But the assumption
> following that in the method of maximum likelihood.  (I know this by looking
> up the book 'Introductory Statistics with R').
>
> But not all functions are explained in the books.
>
> I am thinking whether there is a general way to figure out how R function
> works and what is the underlying theory besides looking at the codes
> (type var or lm at the  Rprompt). Because R codes are too difficult to
> understand.
>
> Thanks
>
> Yi
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

-- 
Joris Meys
Statistical consultant

Ghent University
Faculty of Bioscience Engineering
Department of Applied mathematics, biometrics and process control

tel : +32 9 264 59 87
Joris.Meys_at_Ugent.be
-------------------------------
Disclaimer : http://helpdesk.ugent.be/e-maildisclaimer.php

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Wed 23 Jun 2010 - 00:37:13 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 23 Jun 2010 - 02:00:34 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive