Generates a family.rsm
object containing a list of functions
and expressions used by rsm
.
extreme()
Huber(k = 1.345)
logistic()
logWeibull()
student(df = stop("Argument \"df\" is missing, with no default"))
the tuning constant in Huber's least favourable distribution.
the degrees of freedom in Student's t distribution.
A family.rsm
object, which is a list of functions and
expressions used by rsm
in the iteratively reweighted
least-squares algorithm. See family.rsm.object
for
details.
Each of the names are associated with a member of the class of error
distributions for regression-scale models. Users can construct
their own families, as long as they have components compatible with
those given in rsm.distributions
. The demonstration file
margdemo.R
that accompanies the package shows how to
create a new generator function. When passed as an argument to
rsm
with the default setting, the empty parentheses
()
can be omitted. There is a print
method for the
class family.rsm
.
# NOT RUN {
student(df = 3) ## generates Student's t error distribution with 3 d.f.
# }
# NOT RUN {
rsm(formula = value, data = value, family = extreme)
# }
Run the code above in your browser using DataLab