Description Usage Arguments Value See Also Examples
View source: R/rdd_data_methods.R
Convert a rdd object to lm
1 | as.lm(x)
|
x |
An object to convert to lm |
An object of class lm
as.npreg
which converts rdd_reg
objects into npreg
from package np
.
1 2 3 4 5 6 |
Loading required package: AER
Loading required package: car
Loading required package: lmtest
Loading required package: zoo
Attaching package: 'zoo'
The following objects are masked from 'package:base':
as.Date, as.Date.numeric
Loading required package: sandwich
Loading required package: survival
Loading required package: np
Nonparametric Kernel Methods for Mixed Datatypes (version 0.60-3)
[vignette("np_faq",package="np") provides answers to frequently asked questions]
[vignette("np",package="np") an overview]
[vignette("entropy_np",package="np") an overview of entropy-based methods]
Call:
lm(formula = y ~ ., data = dat_step1, weights = weights)
Coefficients:
(Intercept) D x x_right
0.43295 0.11823 0.29691 0.04598
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.