b_rcs_prime {peRiodiCS}R Documentation

Derive first derivatives of RCS

Description

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

Usage

b_rcs_prime(x, knots)

Arguments

x

vector of values

knots

vector of knot locations


[Package peRiodiCS version 0.5.0 Index]