Learn R Programming

concreg (version 0.7)

plotw: Plot pair weights of concordance regression versus time

Description

This function plots the pair weights used in a weighted Cox regression analysis against time.

Usage

plotw(x,  rank=FALSE,  log=FALSE,  xlim=c(0,max(time)),
 ...)

Arguments

x

a concreg object

rank

if set to TRUE, plots the weights against ranked time (default=F)

log

if set to TRUE, shows logarithm of weights (default=F)

xlim

limits for time axis, defaults to range of time variable

...

further arguments for plotting

Value

no return value.

Details

The function plots the (optionally log-transformed) pair weights against (ranked) time, separately for each stratum.

See Also

concreg