ggindividual_plot {PheVis} | R Documentation |
Plot individual predictions.
ggindividual_plot(subject, time, gold_standard, prediction)
subject |
numeric vector subject id |
time |
numeric vector time or date |
gold_standard |
numeric vector of gold standard |
prediction |
numeric vector of prediction |
a ggplot graph
ggindividual_plot(subject = rep(1,10),
time = 1:10,
gold_standard = c(0,0,1,1,0,0,1,1,0,0),
prediction = runif(n = 10, min = 0, max = 1))