create_data: Create the (Sparse) Design Matrix for Analysis

View source: R/create_data.R

create_dataR Documentation

Create the (Sparse) Design Matrix for Analysis

Description

Create a sparse design matrix with weighted sum to zero constraints.

Usage

create_data(
  design,
  penalty_for_regression,
  warn_missing = TRUE,
  verif_row = TRUE,
  remove_cols = Inf
)

Arguments

design

Data frame with levels of each factor assigned to observation i

penalty_for_regression

An object from "create_penalty"


FactorHet documentation built on April 4, 2025, 5:44 a.m.