get_periods: Obtain periods used for the analysis

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

get_periodsR Documentation

Obtain periods used for the analysis

Description

Obtain periods used for the analysis

Usage

get_periods(Gmat, thres = 3)

Arguments

Gmat

G matrix produced in create_Gmat().

thres

A minimum number of treated units for the period included in the analysis. Default is 2.

Value

A list of time indices.


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