Debian Codegraph @

man/tidy.lmRob.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/robust-lmrob.R
3 \name{tidy.lmRob}
4 \alias{tidy.lmRob}
5 \alias{robust_tidiers}
6 \title{Tidy a(n) lmRob object}
7 \usage{
8 \method{tidy}{lmRob}(x, ...)
9 }
10 \arguments{
11 \item{x}{A \code{lmRob} object returned from \code{\link[robust:lmRob]{robust::lmRob()}}.}
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 For tidiers for robust models from the \pkg{MASS} package see
36 \code{\link[=tidy.rlm]{tidy.rlm()}}.
37 }
38 \examples{
39 \dontshow{if (rlang::is_installed("robust")) withAutoprint(\{ # examplesIf}
40
41 # load modeling library
42 library(robust)
43
44 # fit model
45 m <- lmRob(mpg ~ wt, data = mtcars)
46
47 # summarize model fit with tidiers
48 tidy(m)
49 augment(m)
50 glance(m)
51 \dontshow{\}) # examplesIf}
52 }
53 \seealso{
54 \code{\link[robust:lmRob]{robust::lmRob()}}
55
56 Other robust tidiers:
57 \code{\link{augment.lmRob}()},
58 \code{\link{glance.glmRob}()},
59 \code{\link{glance.lmRob}()},
60 \code{\link{tidy.glmRob}()}
61 }
62 \concept{robust tidiers}