R Dataset / Package DAAG / dewpoint
Documentation |
---|
On this R-data statistics page, you will find information about the dewpoint data set which pertains to Dewpoint Data. The dewpoint data set is found in the DAAG R package. You can load the dewpoint data set in R by issuing the following command at the console data("dewpoint"). This will load the data into a variable called dewpoint. If R says the dewpoint 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 dewpoint R data set. The size of this file is about 647 bytes. Dewpoint DataDescriptionThe Usagedewpoint FormatThis data frame contains the following columns:
SourceDr Edward Linacre, visiting fellow in the Australian National University Department of Geography. Examplesprint("Additive Model - Example 7.5") require(splines) attach(dewpoint) ds.lm <- lm(dewpt ~ bs(maxtemp,5) + bs(mintemp,5), data=dewpoint) ds.fit <-predict(ds.lm, type="terms", se=TRUE) oldpar <- par(mfrow=c(1,2)) plot(maxtemp, ds.fit$fit[,1], xlab="Maximum temperature", ylab="Change from dewpoint mean",type="n") lines(maxtemp,ds.fit$fit[,1]) lines(maxtemp,ds.fit$fit[,1]-2*ds.fit$se[,1],lty=2) lines(maxtemp,ds.fit$fit[,1]+2*ds.fit$se[,1],lty=2) plot(mintemp,ds.fit$fit[,2],xlab="Minimum temperature", ylab="Change from dewpoint mean",type="n") ord<-order(mintemp) lines(mintemp[ord],ds.fit$fit[ord,2]) lines(mintemp[ord],ds.fit$fit[ord,2]-2*ds.fit$se[ord,2],lty=2) lines(mintemp[ord],ds.fit$fit[ord,2]+2*ds.fit$se[ord,2],lty=2) detach(dewpoint) par(oldpar) -- 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-91216.csv | 647 bytes |