f.eval | R Documentation |
Calculates the regression function value given a specification.
f.eval(which.fun, x, C, th)
which.fun |
a positive integer; curretly supports 1:6. |
x |
vector of regressor values. |
C |
smoothness parameter. |
th |
true RD parameter. |
When which.fun
is 5 or 6, x
should be a matrix with two columns.
vector of evaluated values with length length(x)
f.eval(2, runif(100,-1,1), 1, 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.