create_penalty: Create penalty matrix (list of F)

View source: R/create_penalty.R

create_penaltyR Documentation

Create penalty matrix (list of F)

Description

Create penalty matrix (list of F)

Usage

create_penalty(
  factor_levels,
  make_interactions,
  weight_dlist,
  ordered_factors,
  treatment_probs = NULL
)

Arguments

factor_levels

A list with the levels of each factor

treatment_probs

A list with the levels of each factor and the probability of treatment assignment

Value

A list of penalty matrices (F) used for sparsification


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