R Dataset / Package DAAG / mifem

Submitted by pmagunia on March 9, 2018 - 1:06 PM
Dataset License
GNU General Public License v2.0
Attachment Size
dataset-66652.csv 52.59 KB
Documentation

Mortality Outcomes for Females Suffering Myocardial Infarction

Description

The mifem data frame has 1295 rows and 10 columns. This is the female subset of the 'monica' data frame

Usage

mifem

Format

This data frame contains the following columns:

outcome

mortality outcome, a factor with levels live, dead

age

age at onset

yronset

year of onset

premi

previous myocardial infarction event, a factor with levels y, n, nk not known

smstat

smoking status, a factor with levels c current, x ex-smoker, n non-smoker, nk not known

diabetes

a factor with levels y, n, nk not known

highbp

high blood pressure, a factor with levels y, n, nk not known

hichol

high cholesterol, a factor with levels y, n nk not known

angina

a factor with levels y, n, nk not known

stroke

a factor with levels y, n, nk not known

Source

Newcastle (Australia) centre of the Monica project; see the web site http://www.ktl.fi/monica

Examples

print("CART - Example 10.7")
summary(mifem)
pause()require(rpart)
mifem.rpart <- rpart(outcome ~ ., data = mifem, cp = 0.0025)
plotcp(mifem.rpart)
printcp(mifem.rpart)
pause()mifemb.rpart <- prune(mifem.rpart, cp=0.006)
print(mifemb.rpart)
--

Dataset imported from https://www.r-project.org.

Documentation License
GNU General Public License v2.0

From Around the Site...

Title Authored on Content type
R Dataset / Package Stat2Data / MetroHealth83 March 9, 2018 - 1:06 PM Dataset
R Dataset / Package DAAG / medExpenses March 9, 2018 - 1:06 PM Dataset
R Dataset / Package mosaicData / HeatX March 9, 2018 - 1:06 PM Dataset
R Dataset / Package psych / Bechtoldt.2 March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Ecdat / Catsup March 9, 2018 - 1:06 PM Dataset