rr.curve.plot {SimVitD} | R Documentation |
Plotting the relative risk curve for vitamin D status.
Description
Plot the relative risk curve for vitamin D showing times of exposure and whether a participant developed infection from exposure.
Usage
rr.curve.plot( expos, infect, idx = 1, main = NULL, xlab = "25-hydroxyvitamin D",
ylab = "Risk scaling", col = "blue", ... )
Arguments
expos |
An object of class |
infect |
An object of class |
idx |
A vector of indexes of specific exposures to plot. |
main |
Main title for the plot. |
xlab |
A title for the x-axis. |
ylab |
A title for the y-axis. |
col |
Character, value for the colour of the points. |
... |
Additional arguments to |
Author(s)
Rebecca Mangan and Jason Wyse
[Package SimVitD version 1.0.3 Index]