Computes default knots for a given x vector.
default.knots(x, num.knots, knotchoice="quantiles")
The covariate. Note that for B-splines, only the range of x is considered.
The number of knots. Defaults to floor(n/max(4, floor(n/35)) - 1).
Either "equidistant" or "quantiles" for equidistant and quantile based knots, respectively. Note that in case of B-splines, knots are always equidistant.