plotSymptomsTimeline: Plot timeline of symptom presence

Description Usage Arguments

Description

Function that plots symptom severity presence for patients at a certain time.

Usage

1
2
plotSymptomsTimeline(data, date, personID, measurement, symptoms,
  displayFormat = "dates")

Arguments

data

The data frame used by the plot.

date

Name of variable containing dates.

personID

Name of variable containing person ID.

measurement

Name of variable containing measuring occasion info.

symptoms

Vector of variable names representing measured symptoms.

for ggplot() (see melt()). Returns a ggplot object that has to be plotted via print().


crtahlin/medplot documentation built on May 14, 2019, 12:05 p.m.