factors_to_indicators: Convert Factors to indicators

Description Usage Arguments

Description

replicates the functionality of model.matrix, but faster

Replicates the functionality of model.matrix, but faster

Usage

1
2
3

Arguments

x

the factor to expand

ind_ref_mat

a matrix used for expansion, if NULL generated automatically

dt

the dt to expand


jeremyrcoyle/sl3 documentation built on Feb. 3, 2022, 9:12 a.m.