fdm_tidiers: Tidy methods for 'fdm' and 'asym' models

Description Usage Arguments Examples

Description

panelr provides methods to access fdm and asym data in a tidy format

Usage

1
2
3
4
5
6
7
8
## S3 method for class 'asym'
tidy(x, conf.int = FALSE, conf.level = 0.95, ...)

## S3 method for class 'fdm'
tidy(x, conf.int = FALSE, conf.level = 0.95, ...)

## S3 method for class 'fdm'
glance(x, ...)

Arguments

x

An fdm or asym object.

conf.int

Logical indicating whether or not to include a confidence interval in the tidied output. Defaults to FALSE.

conf.level

The confidence level to use for the confidence interval if conf.int = TRUE. Must be strictly greater than 0 and less than 1. Defaults to 0.95, which corresponds to a 95 percent confidence interval.

...

Ignored

Examples

1
2
3
4
5
6
data("WageData")
wages <- panel_data(WageData, id = id, wave = t)
model <- fdm(lwage ~ wks + union, data = wages)
if (requireNamespace("generics")) {
  generics::tidy(model)
}

panelr documentation built on Jan. 18, 2021, 5:06 p.m.