R Dataset / Package MASS / wtloss
Documentation |
---|
On this R-data statistics page, you will find information about the wtloss data set which pertains to Weight Loss Data from an Obese Patient. The wtloss data set is found in the MASS R package. You can load the wtloss data set in R by issuing the following command at the console data("wtloss"). This will load the data into a variable called wtloss. If R says the wtloss 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 wtloss R data set. The size of this file is about 515 bytes. Weight Loss Data from an Obese PatientDescriptionThe data frame gives the weight, in kilograms, of an obese patient at 52 time points over an 8 month period of a weight rehabilitation programme. Usagewtloss FormatThis data frame contains the following columns:
SourceDr T. Davies, Adelaide. ReferencesVenables, W. N. and Ripley, B. D. (2002) Modern Applied Statistics with S. Fourth edition. Springer. Exampleswtloss.fm <- nls(Weight ~ b0 + b1*2^(-Days/th), data = wtloss, start = list(b0=90, b1=95, th=120)) wtloss.fm plot(wtloss) with(wtloss, lines(Days, fitted(wtloss.fm))) -- 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-99210.csv | 515 bytes |