2.13 Chapter 2 Review Questions 2
NutritionStudy contains data for 315 patients at a
hospital who had a noncancerous growth removed through surgery. It
includes the following variables:
IDID number for each subject in this sampleAgeSubject's age (in years)VitaminVitamin use: 1=Regular, 2=Occasional, or 3=NoCaloriesNumber of calories consumed per dayFatGrams of fat consumed per dayFiberGrams of fiber consumed per dayAlcoholNumber of alcoholic drinks consumed per weekCholesterolCholesterol consumed per day, in mgGenderCoded as Female or MaleEverSmokeSmoking status: Never, Former, or Current
Here's the result from running head(NutritionStudy):
Age Vitamin Calories Fat Fiber Alcohol Cholesterol Gender EverSmoke
1 64 1 1298.8 57.0 6.3 0.0 170.3 Female Former
2 76 1 1032.5 50.1 15.8 0.0 75.8 Female Never
3 38 2 2372.3 83.6 19.1 14.1 257.9 Female Former
4 40 3 2449.5 97.5 26.5 0.5 332.6 Female Former
5 72 1 1952.1 82.6 16.2 0.0 170.8 Female Never
6 40 3 1366.9 56.0 9.6 1.3 154.6 Female Former
require(coursekata)
# run your code hererequire(coursekata)
# run your code hererequire(coursekata)
# run your code hererequire(coursekata)
# run your code hererequire(coursekata)
# run your code hererequire(coursekata)
# run your code hererequire(coursekata)
# run your code hererequire(coursekata)
# run your code here