num_knots_generator {hal9001} | R Documentation |
A default generator for the num_knots
argument for each degree of
interactions and the smoothness orders.
Description
A default generator for the num_knots
argument for each degree of
interactions and the smoothness orders.
Usage
num_knots_generator(
max_degree,
smoothness_orders,
base_num_knots_0 = 500,
base_num_knots_1 = 200
)
Arguments
max_degree |
interaction degree. |
smoothness_orders |
see |
base_num_knots_0 |
The base number of knots for zeroth-order smoothness
basis functions. The number of knots by degree interaction decays as
|
base_num_knots_1 |
The base number of knots for 1 or greater order
smoothness basis functions. The number of knots by degree interaction
decays as |
[Package hal9001 version 0.4.6 Index]