R Dataset / Package DAAG / seedrates
Documentation |
---|
On this R-data statistics page, you will find information about the seedrates data set which pertains to Barley Seeding Rate Data. The seedrates data set is found in the DAAG R package. You can load the seedrates data set in R by issuing the following command at the console data("seedrates"). This will load the data into a variable called seedrates. If R says the seedrates data set is not found, you can try installing the package by issuing this command install.packages("DAAG") and then attempt to reload the data. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the seedrates R data set. The size of this file is about 58 bytes. Barley Seeding Rate DataDescriptionThe Usageseedrates FormatThis data frame contains the following columns:
SourceMcLeod, C.C. 1982. Effect of rates of seeding on barley grown for grain. New Zealand Journal of Agriculture 10: 133-136. ReferencesMaindonald J H 1992. Statistical design, analysis and presentation issues. New Zealand Journal of Agricultural Research 35: 121-141. Examplesplot(grain~rate,data=seedrates,xlim=c(50,180),ylim=c(15.5,22),axes=FALSE) new.df<-data.frame(rate=(2:8)*25) seedrates.lm1<-lm(grain~rate,data=seedrates) seedrates.lm2<-lm(grain~rate+I(rate^2),data=seedrates) hat1<-predict(seedrates.lm1,newdata=new.df,interval="confidence") hat2<-predict(seedrates.lm2,newdata=new.df,interval="confidence") axis(1,at=new.df$rate); axis(2); box() z1<-spline(new.df$rate, hat1[,"fit"]); z2<-spline(new.df$rate, hat2[,"fit"]) rate<-new.df$rate; lines(z1$x,z1$y) lines(spline(rate,hat1[,"lwr"]),lty=1,col=3) lines(spline(rate,hat1[,"upr"]),lty=1,col=3) lines(z2$x,z2$y,lty=4) lines(spline(rate,hat2[,"lwr"]),lty=4,col=3) lines(spline(rate,hat2[,"upr"]),lty=4,col=3) -- Dataset imported from https://www.r-project.org. |
Title | Authored on | Content type |
---|---|---|
OpenIntro Statistics Dataset - dream | August 9, 2020 - 12:25 PM | Dataset |
OpenIntro Statistics Dataset - winery_cars | August 9, 2020 - 2:38 PM | Dataset |
R Dataset / Package HSAUR / toothpaste | March 9, 2018 - 1:06 PM | Dataset |
R Dataset / Package HSAUR / pottery | March 9, 2018 - 1:06 PM | Dataset |
R Dataset / Package HistData / Guerry | March 9, 2018 - 1:06 PM | Dataset |
Attachment | Size |
---|---|
dataset-41151.csv | 58 bytes |