Learn R Programming

ESKNN (version 1.0)

hepatitis: Hepatitis data set

Description

This data set is about hepatitus disease. The data set is obtained from UCI machine learning repository. There are 155 observations in total, however this data set consists of 80 observations after removing the observations with missing values. There are 19 features/ attributes where 13 attributes are binary while 6 attributes are discrete valued. The observations are catogarized in two classes classes die and live. There are 13 observations in class "die" and "67" in class live.

Usage

data(hepatitis)

Arguments

Format

A data frame with 80 observations on the following 20 variables.
Age
age of the patients in years, from 20 to 80 years.
Sex
Gender of patient, a factor at two levels coded by 1 (male) and 2(female)
Steroid
Steroid treatment, a factor at two levels coded by 1(yes) and 2(no) .
Antivirals
Antivirals medication, a factor at two levels 1 (yes) and 2 (no).
Fatigue
Fatigue is a frequent and disabling symptom reported by patients with chronic hepatitis, a factor at two levels 1 (yes) and 2 (no).
Malaise
Malaise one of the symptoms of hepatitis, a factor at two levels 1 (yes) and 2 (no).
Anorexia
Anorexia, loss of appetite, a factor at two levels 1 (yes) and 2 (no).
LiverBig
The size of liver increased or fatty, a factor at two levels 1 (yes) and 2 (no).
LiverFirm
A factor at two levels 1 (yes) and 2 (no).
SpleenPalpable
Splenomegaly is an enlargement of the spleen, a factor at two levels 1 (yes) and 2 (no).
Spiders
Enlarged blood vessels that resemble little spiders,a factor at two levels 1 (yes) and 2 (no).
Ascites
Ascites is the presence of excess fluid in the peritoneal cavity, a factor at two levels 1(yes) and 2(no)).
Varices
a factor at two levels 1(yes) and 2(no)).
Bilirubin
Bilirubin is a substance made when the body breaks down old red blood cells, continuous feature
AlkPhosphate
Alkaline phosphatase is an enzyme made in liver cells and bile ducts, a discrete valued feature reveals level Alkaline phosphatase.
Sgot
A discrete valued feature.
AlbuMin
A continous feature.
ProTime
A discrete valued feature.
Histology
a factor at two levels 1 (yes) and 2 (no).
Class
a factor at two levels 1(Die) or 2(Live).

Source

This data set is available on: https://archive.ics.uci.edu/ml/datasets/Hepatitis

Examples

Run this code
data(hepatitis)
str(hepatitis) 

Run the code above in your browser using DataLab