Constraints ensure monotonicity of spline coefficients for warping functions
for use with constrOptim()
function.
constraints(Kh, t_min = 0, t_max = 1, parametric_warps = FALSE)
An list containing:
A constraint matrix.
A constraint vector.
Number of B-spline basis functions used to estimate warping functions h.
Minimum value to be evaluated on the time domain.
Maximum value to be evaluated on the time domain.
If FALSE (default), inverse warping functions are estimated nonparametrically. If 'beta_cdf', they are assumed to have the form of a Beta(a,b) CDF. If 'piecewise' they follow a piecewise parameterized function.