demo_data {ascentTraining}R Documentation

Demographics data

Description

A simulated dataset containing demographic data about a number of subjects.

Usage

demo_data

demoData

Format

A data frame with 33 observations on the following 7 demographic variables. This data is designed so that it can be merged with the dataset pk_data.

Subject

A numeric vector giving the subject identifier

Sex

A factor with levels F M

Age

A numeric vector giving the age of the subject

Weight

A numeric vector giving weight in kg

Height

A numeric vector giving height in cm

BMI

A numeric vector giving the subject body mass index

Smokes

A factor with levels No Yes

Details

This dataset has be renamed using tidyverse-style snake_case naming conventions. However the original name of the dataset has been kept to ensure backwards compatibility with the book SAMS Teach Yourself R in 24 Hours (ISBN: 978-0-672-33848-9).

Source

Simulated data


[Package ascentTraining version 1.0.0 Index]