File: plot.predict.crr.Rd

package info (click to toggle)
r-cran-cmprsk 2.2-7-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 248 kB
  • sloc: fortran: 769; sh: 31; makefile: 2
file content (45 lines) | stat: -rw-r--r-- 1,005 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
\name{plot.predict.crr}
\alias{plot.predict.crr}
\title{
Plot estimated subdistribution functions
}
\description{
plot method for \code{predict.crr}
}
\usage{
\method{plot}{predict.crr}(x, lty=1:(ncol(x)-1), color=1,  
ylim=c(0, max(x[, -1])), xmin=0, xmax=max(x[, 1]), \dots)
}
\arguments{
\item{x}{
Output from \code{predict.crr}
}
\item{lty}{
vector of line types. If length is \eqn{<}{<} \# curves, then
\code{lty[1]} is used for all. 
}
\item{color}{
vector of line colors.  If length is \eqn{<}{<} \# curves, then
\code{color[1]} is used for all. 
}
\item{ylim}{
range of y-axis (vector of length two)
}
\item{xmin}{
lower limit of x-axis (often 0, the default)
}
\item{xmax}{
upper limit of x-axis
}
\item{...}{
Other arguments to plot
}}
\section{Side Effects}{
plots the subdistribution functions estimated by \code{predict.crr}, by
default using a different line type for each curve
}
\seealso{
\code{\link{crr}} \code{\link{predict.crr}}
}
\keyword{survival}
% Converted by Sd2Rd version 1.10.