formula_list: List of 'formula' objects

View source: R/model-fits.R

formula_listR Documentation

List of formula objects

Description

Combine formula or formula_list object into a formula_list object.

Usage

formula_list(...)

Arguments

...

Objects of class formula, which can be named.

Value

An object of class formula_list.

Examples

# 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)


hesim-dev/hesim documentation built on Feb. 14, 2024, 1:18 a.m.