diet: Diet and Weight Loss

Description Usage Format Details References Examples

Description

Weight loss is studied for three different types of diets.

Usage

1

Format

A data frame with 7 variables and 78 observations:

gender

gender

age

age

height

body height

diet.type

three types of diet

initial.weight

initial weight before diet

final.weight

final weight after diet

weight.loss

weight loss

Details

Original data taken from https://www.sheffield.ac.uk/polopoly_fs/1.570199!/file/stcp-Rdataset-Diet.csv, slightly modified.

References

Couturier, D. L., Nicholls, R., and Fernandes, M. (2018). ANOVA with R: analysis of the diet dataset. Retrieved online.

Examples

1

Example output

'data.frame':	76 obs. of  7 variables:
 $ gender        : Factor w/ 2 levels "Female","Male": 1 1 1 1 1 1 1 1 1 1 ...
 $ age           : int  22 46 55 33 50 50 37 28 28 45 ...
 $ height        : int  159 192 170 171 170 201 174 176 165 165 ...
 $ diet.type     : Factor w/ 3 levels "A","B","C": 1 1 1 1 1 1 1 1 1 1 ...
 $ initial.weight: int  58 60 64 64 65 66 67 69 70 70 ...
 $ final.weight  : num  54.2 54 63.3 61.1 62.2 64 65 60.5 68.1 66.9 ...
 $ weight.loss   : num  3.8 6 0.7 2.9 2.8 ...

WRS2 documentation built on May 2, 2019, 4:46 p.m.