b_rcs_prime: Derive first derivatives of RCS

Description Usage Arguments

Description

function that derives the first derivative of the restricted cubic splines for a value/vector of values, given the knots

Usage

1

Arguments

x

vector of values

knots

vector of knot locations


peRiodiCS documentation built on May 2, 2019, 11:10 a.m.