constant_formula: Formula for a Curve with a Constant Response

View source: R/model-constant-formula.R

constant_formulaR Documentation

Formula for a Curve with a Constant Response

Description

Set-up an equation for formula objects with a constant response.

Usage

constant_formula(
  response_variable = "response",
  response_units = NULL,
  predictors = 1,
  ...
)

Arguments

response_variable

character variable representing the response to treatment

response_units

character the units of the response

predictors

Additional formula objects to specify predictors of non-linear parameters. i.e. what perturbations/experimental differences should be modeled separately? (Default: 1) should a random effect be taken into consideration? i.e. cell number, plate number, etc.

...

additional arguments to brms::brmsformula()

Value

bpformula brms::brmsformula()

Examples

## Not run: 
  constant_formula(predictors = 0 + predictors)

## End(Not run)

maomlab/BayesPharma documentation built on Aug. 24, 2024, 8:45 a.m.