Description Usage Arguments Details Examples
View source: R/helper_functions.R
This is ...
1 | MakeSplineStr(var.name, data, interior.knots)
|
var.name |
A variable name (character string) |
data |
a data frame |
interior.knots |
a numeric vector containing the interior knots of a parametric spline |
The procedure works like this...
1 2 | data(testdata)
spline.fn <- MakeSplineStr("x", testdata, interior.knots = c(-.5, .5))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.