A default generator for the num_knots argument for each degree of interactions and the smoothness orders.
num_knots
Useful links