View source: R/lpbwdensity_methods.R
print.lpbwdensity | R Documentation |
The print method for local polynomial density bandwidth selection objects.
## S3 method for class 'lpbwdensity'
print(x, ...)
x |
Class "lpbwdensity" object, obtained by calling |
... |
Other arguments. |
Matias D. Cattaneo, Princeton University. cattaneo@princeton.edu.
Michael Jansson, University of California Berkeley. mjansson@econ.berkeley.edu.
Xinwei Ma (maintainer), University of California San Diego. x1ma@ucsd.edu.
lpbwdensity
for data-driven bandwidth selection.
Supported methods: coef.lpbwdensity
, print.lpbwdensity
, summary.lpbwdensity
.
# Generate a random sample
set.seed(42); X <- rnorm(2000)
# Construct bandwidth
print(lpbwdensity(X))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.