Plot spline basis functions by lines in different colors.
Arguments
- x
A
splines2
object.- y
An argument that is not used.
- from, to
Two numbers representing the start and end point for the plot, respectively.
- n
An integer, the number of x values at which to evaluate.
- mark_knots
A character vector specifying if knot placement should be indicated by vertical lines.
- ...
Additional arguments (other than
x
andy
) that would be passed tomatplot()
.