Fitting a specific set of generalisd least-squares models with order restrictions.
orglsSet(formula, data, weights = NULL, correlation = NULL, set,
direction = "increase", n = NULL, base = 1, control = orlmcontrol())
an object of class "formula" (or one that can be coerced to that class): a symbolic description of the model to be fitted.
an optional data frame, list or environment (or object coercible by as.data.frame to a data frame) containing the variables in the model. If not found in data, the variables are taken from environment(formula), typically the environment from which lm is called.
a varClasses
object; more details are provided on the help pages in R package nlme
a corClasses
object; more details are provided on the help pages in R package nlme
direction of the order constraints
a (possibly named) vector of sample sizes for each group
column of the constraint matrix representing a control group
a list of control arguments; see orlmcontrol
for details.
a list with orgls objects
This function is just a wrapper for repeated calls of orgls
with different constraint definitions. Predefined lists with constraint-sets can be constructed with function constrSet
.