Learn R Programming

Sleuth3 (version 1.0-3)

ex0623: Diet Wars

Description

These data are simulated to match the summary and conclusions of a real study of overweight employees who were randomly assigned to three diet groups: a low-fat diet, a low-carb diet (similar to the Atkins diet), and a Mediterranean diet. The study ran for two years, with 272 employees completing the entire protocol. Is there evidence of differences in average weight loss among these diets? If so, which diets appear to be better than which others?

Usage

ex0623

Arguments

Format

A data frame with 272 observations on the following 3 variables.

Subject

subject identification number

Group

a factor with levels "Low-Carbohydrate", "Low-Fat", and "Meditrranean"

WtLoss24

weight at the end of the 24 month study minus initial weight, in kg

See Also

ex1420, ex1921, ex1922

Examples

Run this code
# NOT RUN {
str(ex0623)
# }

Run the code above in your browser using DataLab