yotov_fixed_effects: Extract fixed effects from regression object

Description Usage Arguments

View source: R/chapter2.R

Description

Takes an lm/glm object and extracts the fixed effects estimated coefficients. This function was created to be used with left_join() and predict() as it pastes the effects and allows to create a column with the predicted output.

Usage

1

Arguments

fit

A regression object


yotover documentation built on Jan. 28, 2021, 9:06 a.m.