Learn R Programming

SimVitD (version 1.0.3)

plot.vitd.curve: Plotting a vitd.curve object

Description

Plot vitamin D status curves.

Usage

# S3 method for vitd.curve
plot( x, main = " ", xlab = " ", ylab = "25-hydroxyvitamin D", 
    col=1:6, add = FALSE, ylim = NULL, ... )

Arguments

x

An object of class vitd.curve.

main

Main title for the plot.

xlab

A title for the x-axis.

ylab

A title for the y-axis.

col

A vector of colours for the plotted status curves.

add

If TRUE, add to current plotting window

ylim

Gives the plotting limits on tye y-axis.

...

Additional arguments to the plot function.

Author

Rebecca Mangan and Jason Wyse