Debian Codegraph @

man/tidy.aareg.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/survival-aareg.R
3 \name{tidy.aareg}
4 \alias{tidy.aareg}
5 \alias{aareg_tidiers}
6 \title{Tidy a(n) aareg object}
7 \usage{
8 \method{tidy}{aareg}(x, ...)
9 }
10 \arguments{
11 \item{x}{An \code{aareg} object returned from \code{\link[survival:aareg]{survival::aareg()}}.}
12
13 \item{...}{Additional arguments. Not used. Needed to match generic
14 signature only. \strong{Cautionary note:} Misspelled arguments will be
15 absorbed in \code{...}, where they will be ignored. If the misspelled
16 argument has a default value, the default value will be used.
17 For example, if you pass \code{conf.lvel = 0.9}, all computation will
18 proceed using \code{conf.level = 0.95}. Two exceptions here are:
19 \itemize{
20 \item \code{tidy()} methods will warn when supplied an \code{exponentiate} argument if
21 it will be ignored.
22 \item \code{augment()} methods will warn when supplied a \code{newdata} argument if it
23 will be ignored.
24 }}
25 }
26 \description{
27 Tidy summarizes information about the components of a model.
28 A model component might be a single term in a regression, a single
29 hypothesis, a cluster, or a class. Exactly what tidy considers to be a
30 model component varies across models but is usually self-evident.
31 If a model has several distinct types of components, you will need to
32 specify which components to return.
33 }
34 \details{
35 \code{robust.se} is only present when \code{x} was created with
36 \code{dfbeta = TRUE}.
37 }
38 \examples{
39 \dontshow{if (rlang::is_installed("survival")) withAutoprint(\{ # examplesIf}
40
41 # load libraries for models and data
42 library(survival)
43
44 # fit model
45 afit <- aareg(
46 Surv(time, status) ~ age + sex + ph.ecog,
47 data = lung,
48 dfbeta = TRUE
49 )
50
51 # summarize model fit with tidiers
52 tidy(afit)
53 \dontshow{\}) # examplesIf}
54 }
55 \seealso{
56 \code{\link[=tidy]{tidy()}}, \code{\link[survival:aareg]{survival::aareg()}}
57
58 Other aareg tidiers:
59 \code{\link{glance.aareg}()}
60
61 Other survival tidiers:
62 \code{\link{augment.coxph}()},
63 \code{\link{augment.survreg}()},
64 \code{\link{glance.aareg}()},
65 \code{\link{glance.cch}()},
66 \code{\link{glance.coxph}()},
67 \code{\link{glance.pyears}()},
68 \code{\link{glance.survdiff}()},
69 \code{\link{glance.survexp}()},
70 \code{\link{glance.survfit}()},
71 \code{\link{glance.survreg}()},
72 \code{\link{tidy.cch}()},
73 \code{\link{tidy.coxph}()},
74 \code{\link{tidy.pyears}()},
75 \code{\link{tidy.survdiff}()},
76 \code{\link{tidy.survexp}()},
77 \code{\link{tidy.survfit}()},
78 \code{\link{tidy.survreg}()}
79 }
80 \concept{aareg tidiers}
81 \concept{survival tidiers}
82 \value{
83 A \code{\link[tibble:tibble]{tibble::tibble()}} with columns:
84 \item{estimate}{The estimated value of the regression term.}
85 \item{p.value}{The two-sided p-value associated with the observed statistic.}
86 \item{robust.se}{robust version of standard error estimate.}
87 \item{statistic}{The value of a T-statistic to use in a hypothesis that the regression term is non-zero.}
88 \item{std.error}{The standard error of the regression term.}
89 \item{term}{The name of the regression term.}
90 \item{z}{z score.}
91
92 }