stroke {multiCA} | R Documentation |
Stroke types over time
Description
Nakajima et al. (2014) collected information on stroke patients over a 9-year period. For each patient, the type of stroke was classified into one of 5 categories by etiology.
Usage
data("stroke")
Format
A data frame with 45 observations on the following 3 variables.
Type
a factor with levels
Small vessel occlusion
,Large artery atherosclerosis
,Cardioembolism
,Other determined aetiology
, andUndetermined aetiology
giving the etiology of the strokeYear
a numeric vector with the year of the observation
Freq
a numeric vector with the number of patients with a stroke of the given etiology that year
Source
Nakajima, M., Y. Inatomi, T. Yonehara, Y. Hashimoto, T. Hirano, and Y. Ando (2014). Temporal trends in oral intake ability 3 months after acute ischaemic stroke: analysis of a single-centre database from 2003 to 2011. J Rehabil Med 46 (3), 200–205.
Examples
data(stroke)
xtabs(Freq ~ Type + Year, data=stroke)
strk.props <- prop.table(xtabs(Freq ~ Year+Type, data=stroke), margin=1)
matplot(strk.props, type="l")