sparsify_function: A function mapping a numeric vector to a (presumably sparser)...

View source: R/synthdid.R

sparsify_functionR Documentation

A function mapping a numeric vector to a (presumably sparser) numeric vector of the same shape to be passed onto synthdid_estimate.

Description

A function mapping a numeric vector to a (presumably sparser) numeric vector of the same shape to be passed onto synthdid_estimate.

Usage

sparsify_function(v)

Arguments

v

a vector


synth-inference/synthdid documentation built on Jan. 26, 2024, 7:21 a.m.