R Dataset / Package MASS / npk
Attachment | Size |
---|---|
dataset-94871.csv | 518 bytes |
Documentation |
---|
On this Picostat.com statistics page, you will find information about the npk data set which pertains to Classical N, P, K Factorial Experiment. The npk data set is found in the MASS R package. You can load the npk data set in R by issuing the following command at the console data("npk"). This will load the data into a variable called npk. If R says the npk data set is not found, you can try installing the package by issuing this command install.packages("MASS") 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 npk R data set. The size of this file is about 518 bytes. Classical N, P, K Factorial ExperimentDescriptionA classical N, P, K (nitrogen, phosphate, potassium) factorial experiment on the growth of peas conducted on 6 blocks. Each half of a fractional factorial design confounding the NPK interaction was used on 3 of the plots. Usagenpk FormatThe
NoteThis dataset is also contained in R 3.0.2 and later. SourceImperial College, London, M.Sc. exercise sheet. ReferencesVenables, W. N. and Ripley, B. D. (2002) Modern Applied Statistics with S. Fourth edition. Springer. Examplesoptions(contrasts = c("contr.sum", "contr.poly")) npk.aov <- aov(yield ~ block + N*P*K, npk) npk.aov summary(npk.aov) alias(npk.aov) coef(npk.aov) options(contrasts = c("contr.treatment", "contr.poly")) npk.aov1 <- aov(yield ~ block + N + K, data = npk) summary.lm(npk.aov1) se.contrast(npk.aov1, list(N=="0", N=="1"), data = npk) model.tables(npk.aov1, type = "means", se = TRUE) -- Dataset imported from https://www.r-project.org. |
Recent Queries For This Dataset |
---|
No queries made on this dataset yet. |
Title | Authored on | Content type |
---|---|---|
R Dataset / Package DAAG / nasshead | March 9, 2018 - 1:06 PM | Dataset |
R Dataset / Package Zelig / Zelig.url | March 9, 2018 - 1:06 PM | Dataset |
R Dataset / Package wooldridge / ceosal2 | March 9, 2018 - 1:06 PM | Dataset |
OpenIntro Statistics Dataset - exclusive_relationship | August 9, 2020 - 12:25 PM | Dataset |
R Dataset / Package MASS / Sitka89 - Cloned | March 9, 2018 - 1:06 PM | Dataset |