Debian Codegraph @

man/tidy.glmRob.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/robust-glmrob.R
3 \name{tidy.glmRob}
4 \alias{tidy.glmRob}
5 \title{Tidy a(n) glmRob object}
6 \usage{
7 \method{tidy}{glmRob}(x, ...)
8 }
9 \arguments{
10 \item{x}{A \code{glmRob} object returned from \code{\link[robust:glmRob]{robust::glmRob()}}.}
11
12 \item{...}{Additional arguments. Not used. Needed to match generic
13 signature only. \strong{Cautionary note:} Misspelled arguments will be
14 absorbed in \code{...}, where they will be ignored. If the misspelled
15 argument has a default value, the default value will be used.
16 For example, if you pass \code{conf.lvel = 0.9}, all computation will
17 proceed using \code{conf.level = 0.95}. Two exceptions here are:
18 \itemize{
19 \item \code{tidy()} methods will warn when supplied an \code{exponentiate} argument if
20 it will be ignored.
21 \item \code{augment()} methods will warn when supplied a \code{newdata} argument if it
22 will be ignored.
23 }}
24 }
25 \description{
26 Tidy summarizes information about the components of a model.
27 A model component might be a single term in a regression, a single
28 hypothesis, a cluster, or a class. Exactly what tidy considers to be a
29 model component varies across models but is usually self-evident.
30 If a model has several distinct types of components, you will need to
31 specify which components to return.
32 }
33 \details{
34 For tidiers for robust models from the \pkg{MASS} package see
35 \code{\link[=tidy.rlm]{tidy.rlm()}}.
36 }
37 \examples{
38 \dontshow{if (rlang::is_installed("robust")) withAutoprint(\{ # examplesIf}
39
40 # load libraries for models and data
41 library(robust)
42
43 # fit model
44 gm <- glmRob(am ~ wt, data = mtcars, family = "binomial")
45
46 # summarize model fit with tidiers
47 tidy(gm)
48 glance(gm)
49 \dontshow{\}) # examplesIf}
50 }
51 \seealso{
52 \code{\link[robust:glmRob]{robust::glmRob()}}
53
54 Other robust tidiers:
55 \code{\link{augment.lmRob}()},
56 \code{\link{glance.glmRob}()},
57 \code{\link{glance.lmRob}()},
58 \code{\link{tidy.lmRob}()}
59 }
60 \concept{robust tidiers}