center_reg: Adds a centered regressor as a new column

View source: R/center_reg.R

center_regR Documentation

Adds a centered regressor as a new column

Description

Adds a centered regressor as a new column

Usage

center_reg(x, hold_var)

Arguments

x

is the name of the original dataframe

hold_var

is the character vector name of the variable for which you want to calculate a centered regressor


aranryan/arlodr documentation built on Jan. 21, 2025, 2:11 p.m.