Debian Codegraph @

R/broom-package.R

raw
1 # Custom package description for the package help file.
2 #' @name broom
3 #' @description
4 #' Convert statistical analysis objects from R into tidy tibbles,
5 #' so that they can more easily be combined, reshaped and otherwise processed
6 #' with tools like dplyr, tidyr and ggplot2. The package provides three S3
7 #' generics: tidy, which summarizes a model's statistical findings such as
8 #' coefficients of a regression; augment, which adds columns to the original
9 #' data such as predictions, residuals and cluster assignments; and glance,
10 #' which provides a one-row summary of model-level statistics.
11 #'
12 #' @keywords internal
13 "_PACKAGE"
14
15 ## usethis namespace: start
16 #' @importFrom stats AIC BIC coef confint fitted logLik model.frame
17 #' @importFrom stats pnorm qnorm qt predict residuals setNames var
18 #' @importFrom stats quantile model.response terms na.pass na.omit
19 #' @importFrom stats influence rstandard cooks.distance nobs
20 #' @importFrom purrr map_df set_names possibly
21 #' @importFrom tibble tibble as_tibble
22 #' @importFrom tidyr pivot_longer pivot_wider
23 #'
24 #' @import rlang
25 #'
26 #' @importFrom utils head
27 #' @importFrom glue glue
28 #'
29 #' @import dplyr
30 ## usethis namespace: end
31 NULL
32
33 # 4.6.0 r-devel triggers a dependency WARNING (#1254)
34 # * https://github.com/wch/r-source/commit/81571366824cd02b8a660ae60c52f994b7bd9b7c
35 quiet_stats4_warning <- function() {
36 stats4::confint
37 }