Learn R Programming

beezdemand (version 0.2.0)

tidy.cp_model_lmer: Extract coefficients from a mixed-effects cross-price model in tidy format

Description

Extract coefficients from a mixed-effects cross-price model in tidy format

Usage

# S3 method for cp_model_lmer
tidy(x, effects = c("fixed", "random", "ran_pars"), ...)

Value

A tibble with tidy coefficient information.

Arguments

x

A cp_model_lmer object.

effects

Which effects to return: "fixed" (default), "random", or "ran_pars".

...

Additional arguments passed to broom.mixed::tidy.