Programming in Geology

Newborn Age vs Weight in R-statistical Program.

Follow My code > newbornAgeMonths=c(0,1,2,3,4,5,6,7,8,9,10,11) > newbornWeightMonths=c(7.16,9.15,10.91,12.56,14,15.43,16.53,17.64,18.74,19.62,20.28,21.05) > mean(newbornWeightMonths) [1] 15.25583 > cor(newbornAgeMonths,newbornWeightMonths) [1] 0.9883767 > plot(newbornAgeMonths,newbornWeightMonths) > table=rbind(newbornAgeMonths,newbornWeightMonths) > table [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] newbornAgeMonths 0.00 1.00 2.00 3.00 4 5.00 6.00 7.00…
Read more

Top 20 commands for R-statistical software for new users

Top 20 commands for R-statistical software. What is R? ·        R is a programming language. ·        A program that can do cool statistics. ·        Modeled after S and S-Plus. ·        R project was started by Robert Gentleman and Ross Ihaka of the statistics Department of the University of Auckland · The R –…
Read more