rdd_coef: RDD coefficient

Description Usage Arguments Value

View source: R/rdd_coef.R

Description

Function to access the RDD coefficient in the various regressions

Usage

1
2
3
4
5
6
7
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


rddtools documentation built on Jan. 10, 2022, 5:07 p.m.