tidyCoefNames: Remove the factor name from the levels in the names of model...

Description Usage Arguments Details

View source: R/autoHelpers.R

Description

Remove the factor name from the levels in the names of model coefficients

Usage

1

Arguments

x

A model object with an 'xlevels' element

Details

If there are no factors in the model, the coefficient names are returned. Otherwise, the function strips the factor name of each coefficient name, for each factor. If two factors have overlapping level names, the function will fail.


harrysouthworth/margarita documentation built on Aug. 19, 2021, 5 a.m.