Skip to content

Extended knot sequence for degree > 1 #8

Discussion options

You must be logged in to vote

Hi,

If one sets the degree to a value >= 1, additional knots are required. How are they chosen, and is it possible to adjust those?

Do you mean the additional knots placed at the boundary? A simple knot sequence is used internally, where each boundary knot is repeated k+1 times, k represents the degree.

An extended knot sequence can be specified via the Rcpp interface. Or you may want to use splines::splineDesign() instead.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@matthiaskaeding
Comment options

Answer selected by wenjie2wang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants