splines (version 3.3.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 DataCamp Workspace