Construct a shape constraint matrix at a corresponding sequence of x data and sequence of gridpoint z.
derivOperator(penalty,gamma,h, xx,zz,p)
shape constraint matrix
the type of shape constraint, can be "drv1", "drv2", "drv3", "drv4", "Exponential" and "Periodicity".
the shape constraint parameter
the kernel bandwidth smoothing parameter.
numeric vector of x data. Missing values are not accepted.
numeric vector of gridpoint z data. Missing values are not accepted.
degree of local polynomial used.
X.J. Hu