Last data update: 2014.03.03

R: Total Body Composision Data
agefatR Documentation

Total Body Composision Data

Description

Age and body fat percentage of 25 normal adults.

Usage

data("agefat")

Format

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

age

the age of the subject.

fat

the body fat percentage.

gender

a factor with levels female and male.

Details

The data come from a study investigating a new methods of measuring body composition (see Mazess et al, 1984), and give the body fat percentage (percent fat), age and gender for 25 normal adults aged between 23 and 61 years. The questions of interest are how are age and percent fat related, and is there any evidence that the relationship is different for males and females.

Source

R. B. Mazess, W. W. Peppler and M. Gibbons (1984), Total body composition by dual-photon (153Gd) absorptiometry. American Journal of Clinical Nutrition, 40, 834–839.

Examples


  data("agefat", package = "HSAUR2")
  plot(fat ~ age, data = agefat)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(HSAUR2)
Loading required package: tools
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/HSAUR2/agefat.Rd_%03d_medium.png", width=480, height=480)
> ### Name: agefat
> ### Title: Total Body Composision Data
> ### Aliases: agefat
> ### Keywords: datasets
> 
> ### ** Examples
> 
> 
>   data("agefat", package = "HSAUR2")
>   plot(fat ~ age, data = agefat)
> 
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>