spline_adjustment: Adjust the splines derivative

Description Usage Arguments Value

Description

This function adjusts the derivative of a cubic spline so that when plotted against another variable, the AUC is equal to 1

Usage

1

Arguments

x

The variable to plot the derivative against

deriv

The derivative of the cubic spline

Value

the adjusted derivative


jcbain/cubicsplines documentation built on May 24, 2019, 4:06 a.m.