rdd_coef: RDD coefficient

View source: R/rdd_coef.R

rdd_coefR Documentation

RDD coefficient

Description

Function to access the RDD coefficient in the various regressions

Usage

rdd_coef(object, allInfo = FALSE, allCo = FALSE, ...)

## Default S3 method:
rdd_coef(object, allInfo = FALSE, allCo = FALSE, ...)

## S3 method for class 'rdd_reg_np'
rdd_coef(object, allInfo = FALSE, allCo = FALSE, ...)

Arguments

object

A RDD regression object

allInfo

whether to return just the coefficients (allInfo=FALSE) or also the se/t stat/pval.

allCo

Whether to give only the RDD coefficient (allCo=FALSE) or all coefficients

...

Further arguments passed to/from specific methods

Value

Either a numeric value of the RDD coefficient estimate, or a data frame with the estimate, its standard value, t test and p-value and


bquast/RDDtools documentation built on Nov. 16, 2023, 3:28 a.m.