rdrobust_helper: Helper function for using rdrobust as a model in...

View source: R/helpers-regression-discontinuity.R

rdrobust_helperR Documentation

Helper function for using rdrobust as a model in declare_estimator

Description

Helper function for using rdrobust as a model in declare_estimator

Usage

rdrobust_helper(data, y, x, subset = NULL, ...)

Arguments

data

a data.frame

y

unquoted name of the outcome variable

x

unquoted name of the running variable

subset

an optional vector specifying a subset of observations to be used in the fitting process

...

Other arguments to rdrobust

Value

rdrobust model fit object


rdss documentation built on Oct. 11, 2024, 1:08 a.m.