dens_test | R Documentation |
Calls the DCdensity
test from package rdd
on a rdd_object
.
dens_test(rdd_object, bin = NULL, bw = NULL, plot = TRUE, ...)
rdd_object |
object of class rdd_data |
bin |
Argument of the |
bw |
Argument of the |
plot |
Whether to return a plot. Logical, default ot TRUE. |
... |
Further arguments passed to |
data(house)
house_rdd <- rdd_data(y=house$y, x=house$x, cutpoint=0)
dens_test(house_rdd)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.