1. Home
  2. ASReml-R 4 Commands
  3. splinek- Spline knot points

splinek- Spline knot points

Description

splinek returns the spline knot points generated via the spl() model function.

Usage
splinek(x, k = 0, predict.points = NULL)
Arguments
x A numeric vector.
k The number of equally spaced knot points for a cubic smoothing spline. If zero (the default) or omitted, k is set to asreml.options()$knots, in which case the number of knot points used will be min(unique(x), asreml.options()$knots).
predict.points An optional vector of points to be included in the design matrix for prediction.
Value
A list including the following components:
knotpoints The knot points generated by ASReml.
zknots The spline design matrix at the knot points.
Updated on June 22, 2021

Was this article helpful?

Related Articles