Skip to contents

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

if (FALSE) { # \dontrun{
  constant_formula(predictors = 0 + predictors)
} # }