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

Description Usage Arguments Author(s)

View source: R/AFfunctions.R

Description

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

Usage

1
2
3
## S3 method for class 'AF'
plot(x, CI = TRUE, confidence.level, CI.transform, xlab,
  main, ylim, ...)

Arguments

x

an object of class AF from the AFcoxph or AFparfrailty 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.

ylim

limits on the y-axis of the plot. If not specified the minimum value of the lower bound of the confidence interval will be used as the minimal value and the maximum value of the upper bound of the confidence interval will be used as the maximum of y-axis of the plot.

...

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

Author(s)

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


AF documentation built on May 21, 2019, 1:01 a.m.

Related to plot.AF in AF...