It has no effect. Both 6 and 6. represent the number six as a double: > identical(6, 6.) [1] TRUE > typeof(6.) [1] "double"
On Thu, Aug 20, 2009 at 10:34 PM, kfcnhl<zhengchenj...@hotmail.com> wrote: > > 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@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. > ______________________________________________ R-help@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.