drqssbc(x, y, w= rep(1,n), pw, knots, degree, Tlambda, constraint,
n.sub = n1000cut(nrq),
equal, smaller, greater, gradient, coef, maxiter = 20 * n,
trace = 1,
n.equal = nrow(equal), n.smaller = nrow(smaller),
n.greater = nrow(greater), n.gradient = nrow(gradient),
nrq = length(x), nl1, neqc, niqc, nvar, nj0,
tau = 0.5, 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