knot_placer_basic_interval: Basic interval-spanning knot placement (not smart)

View source: R/knot-placer-basic-interval.R

knot_placer_basic_intervalR Documentation

Basic interval-spanning knot placement (not smart)

Description

If K is: Greater than 3: place knots at lower bound, upper bound, outside knots one additional division out. Exactly 3: knots at lower bound, upper bound, and in middle of interval Exactly 2: knots at lower and upper bound Exactly 1: knot at middle of interval

Usage

knot_placer_basic_interval(lb, ub, K = 4)

Arguments

lb

lower bound of interval

ub

upper bound of interval

K

number of knots

Value

locations of all knots


sakrejda/dt documentation built on Sept. 24, 2022, 3:03 a.m.