powered by
Examples data for the dtComb package
data(laparotomy)
A data frame with 225 rows and 3 variables:
Indicator whether the procedure was needed; values: "needed" or "not_needed".
"needed"
"not_needed"
Biomarker 1, D-Dimer protein level in blood, ng/mL
Biomarker 2, Logarithm of Leukocyte count in blood, per mcL
data(laparotomy) laparotomy$group <- factor(laparotomy$group) gcol <- c("#E69F00", "#56B4E9") plot(laparotomy$ddimer, laparotomy$log_leukocyte, col = gcol[as.numeric(laparotomy$group)] )
Run the code above in your browser using DataLab