Learn R Programming

splines (version 3.4.0)

splineKnots: Knot Vector from a Spline

Description

Return the knot vector corresponding to a spline object.

Usage

splineKnots(object)

Arguments

object
an object that inherits from class "spline".

Value

A non-decreasing numeric vector of knot positions.

Examples

Run this code
ispl <- interpSpline( weight ~ height, women )
splineKnots( ispl )

Run the code above in your browser using DataLab