explicit_rcs | R Documentation |
Create a model formula with explicit knots
explicit_rcs(data, formula)
data |
A data.frame / data.table object |
formula |
A model formula which includes an |
Returns a model formula with the number of knots replaced by explicit knot locations
explicit_rcs(iris, Sepal.Length ~ rcs(Sepal.Width, 3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.