tidify: Tabulate model results tidily.

Description Usage Arguments Value Methods (by class)

View source: R/wickr.R

Description

The default method returns broom::tidy(lmtest::coeftest(x, ...)).

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
## S3 method for class 'amce'
tidify(x, margins = FALSE, ...)

## S3 method for class 'betareg'
tidify(
  x,
  margins = FALSE,
  data = if (is.null(x$model)) {     margins::find_data(x) } else {     x$model },
  variables = NULL,
  ...
)

## S3 method for class 'clm'
tidify(x, margins = FALSE, ...)

## S3 method for class 'crch'
tidify(x, margins = FALSE, ...)

## Default S3 method:
tidify(x, margins = FALSE, ...)

## S3 method for class 'glm'
tidify(x, margins = FALSE, ...)

## S3 method for class 'lm'
tidify(x, margins = FALSE, vcov. = stats::vcov, variables = NULL, ...)

## S3 method for class 'svymnlogit'
tidify(x, margins = FALSE, ...)

## S3 method for class 'svyolr'
tidify(x, margins = margins, ...)

tidify(x, margins = FALSE, ...)

Arguments

x

A model object.

margins

logical. Serve up marginal effects from package margins-package? Default FALSE (output regression coefficients).

...

other arguments to margins::margins or lmtest::coeftest.

data

data.frame. Where is the data located? Defaults to data within the model object.

variables

character. Which terms to get effects for. Default NULL (\[everyone.gif\]).

vcov.

a specification of the covariance matrix. See coeftest for details.

Value

A data.frame.

Methods (by class)


deepfriar/wickr documentation built on Dec. 19, 2021, 10:09 p.m.