splines (version 3.6.2)

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
# NOT RUN {
ispl <- interpSpline( weight ~ height, women )
splineKnots( ispl )
# }

Run the code above in your browser using DataCamp Workspace