Skip to content

Variance of random effects is not relabelled #1138

@raffaem

Description

@raffaem

Bug reported upstream following vincentarelbundock/modelsummary#895.

The variance of random effects is not relabelled:

library(magrittr)
library(glmmTMB)
mydf <- mtcars

mydf %<>% labelled::set_variable_labels(
  mpg = "Miles per gallon",
  gear = "Number of forward gears"
)

fit <- glmmTMB(cyl ~ mpg + (1 + 1 | gear), data = mydf)
p <- parameters::parameters(fit, effects = "all", pretty_names = "labels")
p$Group

attr(p, "pretty_labels")

Metadata

Metadata

Assignees

No one assigned

    Labels

    Enhancement 💥Implemented features can be improved or revised

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions