formula
objectsCombine formula or formula_list object into a formula_list object.
formula_list(...)
An object of class formula_list
.
Objects of class formula, which can be named.
# Create from "formula" objects
flist_wei <- formula_list(shape = formula(~ 1), scale = formula(~ x))
class(flist_wei)
# Create from "formula_list" objects
flist <- formula_list(exponential = formula_list(rate = formula(~1)),
weibull = flist_wei)
Run the code above in your browser using DataLab