[R] extra .

Moshe Olshansky m_olshansky at yahoo.com
Fri Aug 21 07:28:30 CEST 2009


My guess is that 6. comes for 6.0 - something which comes from programming languages where 6 represents 6 as integer while 6. (or 6.0) represents 6 as floating point number.

--- On Fri, 21/8/09, kfcnhl <zhengchenji18 at hotmail.com> wrote:

> From: kfcnhl <zhengchenji18 at hotmail.com>
> Subject: [R]  extra .
> To: r-help at r-project.org
> Received: Friday, 21 August, 2009, 12:34 PM
> 
> sigma0 <- sqrt((6. * var(maxima))/pi)
> 
> What does the '.' do here?
> -- 
> View this message in context: http://www.nabble.com/extra-.-tp25073255p25073255.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> 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.
>




More information about the R-help mailing list