Learn R Programming

bistablehistory (version 1.1.2)

fixef: Extract the fixed-effects estimates

Description

Extracts models fixed-effect terms for every modeled distribution parameter.

Usage

fixef(object, summary = TRUE, probs = c(0.055, 0.945))

Value

tibble with values or summary, NULL if not fixed effects were used.

Arguments

object

An object of class cumhist

summary

Whether summary statistics should be returned instead of raw sample values. Defaults to TRUE

probs

The percentiles used to compute summary, defaults to 89% credible interval.

Examples

Run this code
# \donttest{
br_fit <- fit_cumhist(br_singleblock,
                      state = "State",
                      duration = "Duration",
                      fixed_effects = "Time")
fixef(br_fit)
# }

Run the code above in your browser using DataLab