| regicor {compareGroups} | R Documentation | 
REGICOR cross-sectional data
Description
These data come from 3 different cross-sectional surveys of individuals representative of the population from a north-west Spanish province (Girona), REGICOR study.
Usage
data(regicor)Format
A data frame with 2294 observations on the following 21 variables:
- id
- Individual id 
- year
- a factor with levels - 1995- 2000- 2005. Recruitment year
- age
- Patient age at recruitment date 
- sex
- a factor with levels - male- female. Sex
- smoker
- a factor with levels - Never smoker- Current or former < 1y- Never or former >= 1y. Smoking status
- sbp
- Systolic blood pressure 
- dbp
- Diastolic blood pressure 
- histhtn
- a factor with levels - Yes- No. History of hypertension
- txhtn
- a factor with levels - No- Yes. Hypertension (HTN) treatment
- chol
- Total cholesterol (mg/dl) 
- hdl
- HDL cholesterol (mg/dl) 
- triglyc
- Triglycerides (mg/dl) 
- ldl
- LDL cholesterol (mg/dl) 
- histchol
- a factor with levels - Yes- No. History of hypercholesterolemia
- txchol
- a factor with levels - No- Yes. Cholesterol treatment
- height
- Height (cm) 
- weight
- Weight (Kg) 
- bmi
- Body mass index 
- phyact
- Physical activity (Kcal/week) 
- pcs
- Physical component summary 
- mcs
- Mental component summary 
- death
- a factor with levels - No- Yes. Overall death
- todeath
- Days to overall death or end of follow-up 
- cv
- a factor with levels - No- Yes. Cardiovascular event
- tocv
- Days to cardiovascular event or end of follow-up 
Details
The variables collected in the REGICOR study were mainly cardiovascular risk factors (hundreds of variables were collected in the different questionnaires and blood measurements), but the variables present in this data set are just a few of them. Also, for reasons of confidentiality, the individuals in this data set are a 30% approx. random subsample of the original one. 
 
Each variable of this data.frame contains label describing them in the attribute "label". 
 
For more information, see the vignette.
Note
Variables death, todeath, cv, tocv are not real but they have been simulated at random to complete the data example with some time-to-event variables.
Source
For reasons of confidentiality, the whole data set is not publicly available. For more information about the study these data come from, visit www.regicor.org.
Examples
require(compareGroups)
data(regicor)
summary(regicor)