Last data update: 2014.03.03

R: Plot function for objects of class "'AF'" from the function...
plot.AFR Documentation

Plot function for objects of class "AF" from the function AF.ch.

Description

Creates a simple scatterplot for the AF function with time sequence (specified by the user as times in the AF.ch function) on the x-axis and the AF function estimate on the y-axis.

Usage

## S3 method for class 'AF'
plot(x, CI = FALSE, confidence.level, CI.transform, xlab, main,
  ...)

Arguments

x

an object of class AF from the AF.ch function.

CI

if TRUE confidence intervals are estimated and ploted in the graph.

confidence.level

user-specified confidence level for the confidence intervals. If not specified it defaults to 95 percent. Should be specified in decimals such as 0.95 for 95 percent.

CI.transform

user-specified transformation of the Wald confidence interval(s). Options are untransformed, log and logit. If not specified untransformed will be calculated.

xlab

label on the x-axis. If not specified the label "Time" will be displayed.

main

main title of the plot. If not specified the lable "Estimate of the attributable fraction function" will be displayed.

...

further arguments to be passed to the plot function. See plot.

Author(s)

Elisabeth Dahlqwist, Arvid Sj<c3><83><c2><b6>lander

Results