Plot the relative risk curve for vitamin D showing times of exposure and whether a participant developed infection from exposure.
rr.curve.plot( expos, infect, idx = 1, main = NULL, xlab = "25-hydroxyvitamin D",
ylab = "Risk scaling", col = "blue", ... )
An object of class exposure.levels.
An object of class infection.count.
A vector of indexes of specific exposures to plot.
Main title for the plot.
A title for the x-axis.
A title for the y-axis.
Character, value for the colour of the points.
Additional arguments to plot.
Rebecca Mangan and Jason Wyse