cubic_spline: Calculate a cubic spline

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Calculate a cubic spline

Usage

1
cubic_spline(x, low = 0, high = 1)

Arguments

x

a numeric vector

low

minimum value of output

high

maximum value of output

Value

a numeric vector

Examples

1
2
x = seq( from = 0, to = 1, by = 0.01 )
plot( x, cubic_spline( x ) )

tsuda16k/noesis documentation built on Nov. 25, 2020, 10:16 a.m.