View source: R/rr.curve.plot.R
rr.curve.plot | R Documentation |
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", ... )
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 |
Rebecca Mangan and Jason Wyse
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.