make_fixed_formula: Generate fixed formula for stacked data

View source: R/fit_mmm.R

make_fixed_formulaR Documentation

Generate fixed formula for stacked data

Description

Takes a list of covariates. Each element of the list are the covariates for a pairwise model

Usage

make_fixed_formula(covars = NULL)

Arguments

covars

a list of character vectors with the covariates names

Value

a list with the fixed formulas for the pairwise model fitting stage.

Examples

## Not run: 
fixed <- make_fixed_formula(covars = c("time", "sex", "time_failure"))

## End(Not run)

JanvandenBrand/jmmm documentation built on May 30, 2022, 9:37 a.m.