R: Spline knot points

splinek {asreml} | R Documentation

## Spline knot points

### Description

Return the spline knot points generated via the `spl()` model function.

### Usage

    splinek(x, k = 0, core_version = NULL)

### Arguments

`x` | A numeric vector.
`k` | The number of equally-spaced knot points for a cubic smoothing spline. If zero 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)` (default = `50`).
`core_version` | The version of the algorithmic core to use, not usually required.

### Value

A list including the following components:

- `knotpoints`: The knot points generated by `asreml`.

- `zknots`: The spline design matrix at the knot points.

[Package asreml version 4.2.0.480 Index]