ggindividual_plot {PheVis}R Documentation

ggindividual_plot

Description

Plot individual predictions.

Usage

ggindividual_plot(subject, time, gold_standard, prediction)

Arguments

subject

numeric vector subject id

time

numeric vector time or date

gold_standard

numeric vector of gold standard

prediction

numeric vector of prediction

Value

a ggplot graph

Examples

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))


[Package PheVis version 1.0.4 Index]