Learn R Programming

panelr (version 0.7.7)

tidy.asym: Tidy methods for fdm and asym models

Description

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

Usage

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

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

# S3 method for 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

Run this code

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

Run the code above in your browser using DataLab