[R] spearman correction
Dear All ! Who knows which correction (by tied numbers) is used by Spearman-test in function cor.test (e.g. cor.test(a,b,method=spearman))? a b 12 135 13 153 15 144 17 180 18 162 19 198 20 234 21 225 25 270 26 261 rs(corrected)=rs(uncorrected)= 0.951515152 a b 12 135 13 153 15 144 17 180 18 180 19 180 20 180 21 225 21 270 21 261 rs(corrected)= 0.943208012 rs(uncorrected)= 0.945454545 Thanks! With best regards Branimir K. Hackenberger __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
[R] calculating error
Could anybody explain this results? sin(2*pi) -2.449213e-16 #should be zero (10^16)*sin(log2(4)*pi) -2.449213 #should be zero too and explain what to do to correct this events? Thanks!!! Branimir K. Hackenberger __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
[R] Plot a sphere
To plot the sphere in R I find the best scatterplot3d package as follows: library(scatterplot3d) a=seq(-pi,pi, length=100) x=c(rep(1, 100) %*% t(cos(a))) y=c(cos(a) %*% t(sin(a))) z=c(sin(a) %*% t(sin(a))) scatterplot3d(x, y, z, type=l) Best regards Branimir K. Hackenberger __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
[R] Export to GIF
Dear all! What is the best (possible) way to copy the current graphics device to a file in a GIF format. Thanks! Branimir __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
[R] R-OpenOffice.org Calc
I have been very satisfied with R-Excel interface (DCOM). Few months ago I have changed my OS to Linux-Mandrake, and now I am using OpenOffice.org Calc as spreadsheet. I would like to know does exist some R-OpenOffice.org interface or how is possible to use R-functions in OpenOffice.org Calc? Thanks a lot! __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help