drqssbc(x, y, w, pw, knots, degree, Tlambda, constraint,
n.sub = n1000cut(n),
equal, smaller, greater, gradient, coef, maxiter,
trace, n.equal, n.smaller, n.greater, n.gradient,
nrq, nl1, neqc, niqc, nvar, nj0,
tau, lam, tmin, kmax, lstart, factor,
eps = .Machine$double.eps, print.warn)x, the observations.x, as in
cobs.l1.design or
loo.design.knots here~~Tlambda here~~cobs (but cannot be abbreviated here).n; the
default has n.sub == n as long as n is less than 1000.trace here~~n.gradient here~~nrq here~~nl1 here~~nj0 here~~lam here~~tmin here~~kmax here~~cobs.cobs.cobs, possibly
interesting on its own. This documentation is currently sparse; read
the source code!cobs and its auxiliary
qbsks which calls drqssbc() repeatedly.set.seed(1243)
x <- 1:32
fx <- (x-5)*(x-15)^2*(x-21)
y <- fx + round(rnorm(x,s = 0.25),2)
## FAILS drqssbc(x,y,nrq=32,lam=1,degree=1,knots=c(1,5,15,32))Run the code above in your browser using DataLab