data <- data.frame(
age = c(45, 55, 90),
male = c(1, 0, 1),
sbp = c(120, 130, 145),
dbp = c(80, 90, 110),
ht_medication = c(0, 1, 0),
t2dm = c(0, 1, 0),
tc = c(180, 160, 210),
hdl = c(55, 45, 35),
ldl = c(110, 100, 160),
urineprotein = c(1, 1, 0),
smoking = c(0, 1, 0),
af = c(1, 0, 1),
lvh = c(1, 0, 1)
)
# age :age(continuous)
# male :male(category: 0 = female, 1 = male)
# sbp :systolic blood pressure(continuous)
# dbp :diastolic blood pressure(continuous)
# ht_medication :hypertensive medication user(category:0 = non-user,1 = user)
# t2dm :diabetes mellitus(category: 0 = non-prevalent DM, 1 = prevalent DM)
# tc :total cholesterol(continuous)
# hdl :high-density lipoprotein cholesterol(continuous)
# ldl :low-density lipoprotein cholesterol(continuous)
# urineprotein :proteinuria(category: 0 = negative, 1 = positive)
# smoking :smoking status(category: 0 = never/past smoker, 1 = current smoker)
# af :atrial fibrillation(category: 0 = negative, 1 = positive)
# lvh :left ventricular hypertrophy(category: 0 = negative, 1 = positive)
suita_wECG(data)
Run the code above in your browser using DataLab