rr.curve.plot: Plotting the relative risk curve for vitamin D status.

View source: R/rr.curve.plot.R

rr.curve.plotR 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 exposure.levels.

infect

An object of class infection.count.

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 plot.

Author(s)

Rebecca Mangan and Jason Wyse


SimVitD documentation built on Aug. 20, 2023, 5:06 p.m.