group_onehot: Compute one-hot matrix for given data frame and variable (s)

View source: R/GTE.R

group_onehotR Documentation

Compute one-hot matrix for given data frame and variable (s)

Description

Compute one-hot matrix for given data frame and variable (s)

Usage

group_onehot(x, ivar)

Arguments

x

Input data frame.

ivar

Variable (s) for one-hot computation.


GTEs documentation built on April 4, 2025, 3:50 a.m.