Debian Codegraph @

man/glance.rlm.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/mass-rlm.R
3 \name{glance.rlm}
4 \alias{glance.rlm}
5 \alias{rlm_tidiers}
6 \title{Glance at a(n) rlm object}
7 \usage{
8 \method{glance}{rlm}(x, ...)
9 }
10 \arguments{
11 \item{x}{An \code{rlm} object returned by \code{\link[MASS:rlm]{MASS::rlm()}}.}
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 Glance accepts a model object and returns a \code{\link[tibble:tibble]{tibble::tibble()}}
28 with exactly one row of model summaries. The summaries are typically
29 goodness of fit measures, p-values for hypothesis tests on residuals,
30 or model convergence information.
31
32 Glance never returns information from the original call to the modeling
33 function. This includes the name of the modeling function or any
34 arguments passed to the modeling function.
35
36 Glance does not calculate summary measures. Rather, it farms out these
37 computations to appropriate methods and gathers the results together.
38 Sometimes a goodness of fit measure will be undefined. In these cases
39 the measure will be reported as \code{NA}.
40
41 Glance returns the same number of columns regardless of whether the
42 model matrix is rank-deficient or not. If so, entries in columns
43 that no longer have a well-defined value are filled in with an \code{NA}
44 of the appropriate type.
45 }
46 \examples{
47 \dontshow{if (rlang::is_installed("MASS")) withAutoprint(\{ # examplesIf}
48
49 # load libraries for models and data
50 library(MASS)
51
52 # fit model
53 r <- rlm(stack.loss ~ ., stackloss)
54
55 # summarize model fit with tidiers
56 tidy(r)
57 augment(r)
58 glance(r)
59 \dontshow{\}) # examplesIf}
60 }
61 \seealso{
62 \code{\link[=glance]{glance()}}, \code{\link[MASS:rlm]{MASS::rlm()}}
63
64 Other rlm tidiers:
65 \code{\link{augment.rlm}()},
66 \code{\link{tidy.rlm}()}
67 }
68 \concept{rlm tidiers}
69 \value{
70 A \code{\link[tibble:tibble]{tibble::tibble()}} with exactly one row and columns:
71 \item{AIC}{Akaike's Information Criterion for the model.}
72 \item{BIC}{Bayesian Information Criterion for the model.}
73 \item{converged}{Logical indicating if the model fitting procedure was succesful and converged.}
74 \item{deviance}{Deviance of the model.}
75 \item{logLik}{The log-likelihood of the model. [stats::logLik()] may be a useful reference.}
76 \item{nobs}{Number of observations used.}
77 \item{sigma}{Estimated standard error of the residuals.}
78
79 }