-
-
Notifications
You must be signed in to change notification settings - Fork 65
/
Copy pathautoplot.aareg.Rd
47 lines (40 loc) · 1.04 KB
/
autoplot.aareg.Rd
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
46
47
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fortify_surv.R
\name{autoplot.aareg}
\alias{autoplot.aareg}
\title{Autoplot \code{survival::aareg}}
\usage{
\method{autoplot}{aareg}(
object,
maxtime = NULL,
surv.connect = TRUE,
facets = TRUE,
ncol = NULL,
xlab = "",
ylab = "",
...
)
}
\arguments{
\item{object}{\code{survival::aareg} instance}
\item{maxtime}{truncate the input to the model at time "maxtime"}
\item{surv.connect}{logical frag indicates whether connects survival curve to the origin}
\item{facets}{Logical value to specify use facets}
\item{ncol}{Number of facet/subplot columns}
\item{xlab}{character vector or expression for x axis label}
\item{ylab}{character vector or expression for y axis label}
\item{...}{other arguments passed to \code{autoplot.survfit}}
}
\value{
ggplot
}
\description{
Autoplot \code{survival::aareg}
}
\examples{
\dontrun{
if (requireNamespace("survival", quietly = TRUE)) {
autoplot(aareg(Surv(time, status) ~ age + sex + ph.ecog, data = lung, nmin = 1))
}
}
}