rddtools (version 0.4.0)

rdd_coef: RDD coefficient

Description

Function to access the RDD coefficient in the various regressions

Usage

rdd_coef(object, allInfo = FALSE, allCo = FALSE, ...)
"rdd_coef"(object, allInfo = FALSE, allCo = FALSE, ...)
"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