get_subjects: Obtain subject index for each periods

View source: R/did-sad-functions.R

get_subjectsR Documentation

Obtain subject index for each periods

Description

Obtain subject index for each periods

Usage

get_subjects(Gmat, id_time_use)

Arguments

id_time_use

A vector of time index. Should be normalized.

Gamt

G matrix created by create_Gmat().

Value

A list of unit indices.


naoki-egami/DIDdesign documentation built on June 4, 2024, 2:59 p.m.