loc_constant | R Documentation |
Nonparametric smoothing
loc_constant(bw, x, y, db_kernel = 0L)
bw |
double, bandwidth, between 0 and 1. |
x |
vector, covariates |
y |
matrix, response variables |
db_kernel |
bool, whether to use jackknife kernel, default 0 |
a matrix of smoothed values
n <- 800
p <- 3
t <- (1:n)/n
V <- matrix(rnorm(n * p), nrow = p)
V3 <- loc_constant(0.2, t, V,1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.