Learn R Programming

VarSelLCM (version 2.0.1)

heart: Heart desease data set

Description

Heart data set composed with 270 individuals described by three continuous variables, one count variable and eight categorical variables. Individuals are split into two groups.

Usage

data("heart")

Arguments

Format

A data frame with 270 observations on the following 13 variables.

Age

a numeric vector

Sex

a factor with levels 0 1

ChestPainType

a factor with levels 1 2 3 4

RestBloodPressure

a numeric vector

SerumCholestoral

a numeric vector

FastingBloodSugar

a factor with levels 0 1

ResElectrocardiographic

a factor with levels 0 1 2

MaxHeartRate

a numeric vector

ExerciseInduced

a factor with levels 0 1

Slope

a factor with levels 1 2 3

MajorVessels

a factor with levels 0 1 2 3

Thal

a factor with levels 3 6 7

Class

a factor with levels 1 2

Examples

Run this code
# NOT RUN {
data(heart)
# }

Run the code above in your browser using DataLab