A symbolic routine to define that a vector of domain means follows a monotonic ordering in a predictor in a formula argument to csvy. This is the unsmoothed version.
block.Ord(x, order = NULL, numknots = 0, knots = 0, space = "E")The vector x with five attributes, i.e., name: the name of x; shape: 9("block ordering"); numknots: the numknots argument in "block.Ord"; knots: the knots argument in "block.Ord"; space: the space argument in "block.Ord".
A numeric predictor which has the same length as the response vector.
A \(1 \times M\) vector defining the order of domains when the shape constraint is block ordering.
The number of knots used to smoothly constrain a predictor. The value should be \(0\) for a shape-restricted predictor without smoothing. The default value is \(0\).
The knots used to smoothly constrain a predictor. The value should be \(0\) for a shape-restricted predictor without smoothing. The default value is \(0\).
A character specifying the method to create knots. It will not be used for a shape-restricted predictor without smoothing. The default value is "E".
Xiyue Liao
csvy