| hrrecov | R Documentation |
A survival dataset from a cohort of patients referred for symptom-limited exercise testing, originally used to study exercise heart rate recovery as a predictor of all-cause mortality.
data(hrrecov)
A data frame with 23701 observations on 83 variables.
ttodeadFollow-up time to death or censoring, in years (rounded to 2 decimals).
diedEvent indicator (1 = death, 0 = right-censored).
hrrecovHeart rate recovery (beats/min): peak heart rate minus heart rate 1 minute into recovery.
lowrecIndicator for low/abnormal heart rate recovery.
lowcriIndicator for low chronotropic response index/chronotropic incompetence.
peak_hrPeak heart rate during exercise (beats/min).
peak_metPeak workload achieved (metabolic equivalents, METs).
fitnessFitness category (ordinal 1-5; coding as in source data).
heart_raResting heart rate prior to testing (beats/min).
sbprestResting systolic blood pressure (mm Hg).
dbprestResting diastolic blood pressure (mm Hg).
ageAge at exercise test (years).
genderSex indicator (1=men).
raceRace category (integer code; coding as in source data).
blackIndicator for Black race (0/1).
heightHeight (m).
weightWeight (kg).
bmiBody mass index (kg/m^2).
bsaBody surface area.
wthtWeight-to-height ratio (weight/height; kg/m).
obeseIndicator for obesity (0/1).
priorcadKnown or suspected coronary artery disease prior to test (0/1).
mihistHistory of myocardial infarction (0/1).
pcabgPrior coronary artery bypass grafting (CABG) (0/1).
ppciPrior percutaneous coronary intervention (PCI) (0/1).
cvaHistory of cerebrovascular accident/stroke (0/1).
tiaHistory of transient ischemic attack (0/1).
pvdPeripheral vascular disease (0/1).
diabetesHistory of diabetes mellitus (0/1).
insulinInsulin therapy (0/1).
htnHistory of hypertension (0/1).
htnrxAntihypertensive treatment (0/1).
hicholHistory of high cholesterol/hyperlipidemia (0/1).
smknowSmoking history/status indicator.
asthmaHistory of asthma (0/1).
copdHistory of chronic obstructive pulmonary disease (0/1).
esrdEnd-stage renal disease (0/1).
lv_dysfLeft ventricular dysfunction (0/1).
ecgmiECG evidence of myocardial infarction (0/1).
ecglvhECG evidence of left ventricular hypertrophy (0/1).
lbbbLeft bundle branch block (0/1).
rbbbRight bundle branch block (0/1).
reststResting ST-segment abnormality (0/1).
stnondNon-diagnostic ST-segment response (0/1).
stabnST-segment abnormality during testing (0/1).
stabnbST-segment abnormality subtype/flag.
stabnvST-segment abnormality subtype/flag.
rtachyTachycardia indicator.
typcpTypical chest pain indicator.
ntanginaAngina history/symptom indicator.
ttanginaAngina during treadmill test (0/1).
ttclaudClaudication during treadmill test (0/1).
imageExercise test performed with imaging (0/1).
aceiAngiotensin-converting enzyme (ACE) inhibitor use (0/1).
aspirinAspirin use (0/1).
betablokBeta-blocker use (0/1).
dilverDiltiazem/verapamil use (0/1).
nifedNifedipine use (0/1).
diureticDiuretic use (0/1).
lipidrxLipid-lowering therapy use (0/1).
nitratesNitrate therapy use (0/1).
bdilatBronchodilator use (0/1).
rs_amiReason for referral/testing: acute myocardial infarction (0/1).
rs_miReason for referral/testing: myocardial infarction (0/1).
rs_ptcaReason for referral/testing: PTCA/angioplasty (0/1).
rs_cabgReason for referral/testing: CABG (0/1).
rs_arrthReason for referral/testing: arrhythmia (0/1).
rs_htranReason for referral/testing: heart transplant (0/1).
bpvc_rstBigeminal premature ventricular contractions at rest (0/1).
bpvc_exBigeminal premature ventricular contractions during exercise (0/1).
bpvc_recBigeminal premature ventricular contractions during recovery (0/1).
fpvc_rstFrequent premature ventricular contractions at rest (0/1).
fpvc_exFrequent premature ventricular contractions during exercise (0/1).
fpvc_recFrequent premature ventricular contractions during recovery (0/1).
nsvt_rstNon-sustained ventricular tachycardia at rest (0/1).
nsvt_exNon-sustained ventricular tachycardia during exercise (0/1).
nsvt_recNon-sustained ventricular tachycardia during recovery (0/1).
vtrp_rstVentricular triplets at rest (0/1).
vtrp_exVentricular triplets during exercise (0/1).
vtrp_recVentricular triplets during recovery (0/1).
hbm2_recHeart rate-related recovery measure at 2 minutes.
execIndicator variable (0/1); coding as in source data.
asoIndicator variable (0/1); coding as in source data.
Heart rate recovery (hrrecov) is defined as peak heart rate minus the heart rate
measured 1 minute into recovery. The survival outcome is all-cause mortality with right-censoring.
Unless otherwise noted, indicator variables are coded 0/1 (0 = no/absent, 1 = yes/present).
Ishwaran, H., Blackstone, E. H., Pothier, C. E. and Lauer, M. S. (2004). Relative risk forests for exercise heart rate recovery as a predictor of mortality. Journal of the American Statistical Association, 99, 591-600.
data(hrrecov)
vp <- varpro(Surv(ttodead, died)~., hrrecov, ntree=50, split.weight=FALSE)
ivp <- ivarpro(vp)
partial.ivarpro(ivp, "peak_met", "fitness", "peak_hr",
col.legend.n = 7, smooth.n = 7, x.dist = "auto")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.