BUPA's liver disorders data: 345 male individuals' blood test result and liver disorder status.
Usage
data(BUPA)
Arguments
Value
A list with the following elements:
X
A numerical matrix for predictors: 345 rows and 6 columns; each row corresponds to a patient.
y
A numeric vector of length 305 representing the liver disorder status.
Details
This data set consists of 345 observations and 6 predictors representing the blood test result liver disorder status of 345 patients. The three predictors are mean corpuscular volume (MCV), alkaline phosphotase (ALKPHOS), alamine aminotransferase (SGPT), aspartate aminotransferase (SGOT), gamma-glutamyl transpeptidase (GAMMAGT), and the number of alcoholic beverage drinks per day (DRINKS).
# NOT RUN {# load data setdata(BUPA)
# the number of samples predictorsdim(BUPA$X)
# the number of samples for each classsum(BUPA$y == -1)
sum(BUPA$y == 1)
# }