linear: Creates BUGS model for linear dose combination model

Description Usage Arguments Examples

View source: R/models.R

Description

Creates BUGS model for linear dose combination model

Usage

1
2
linear(datatype, prior = list(theta0 = list(pmean, psd), theta1 =
  list(pmean, psd), theta2 = list(pmean, psd), theta12 = list(pmean, psd)))

Arguments

datatype

character variable for response data type, args = c("binomial")

prior

list of parameters in model. For this model, must contain lists: theta0, theta1, theta2, theta12. Each list has values pmean and psd for prior means and standard deviations respectively.

Examples

1
2
3
Dichotomous linear combination model:
linear("binomial", prior = list(theta0 = list(0,10), theta1 = list(0,10),
       theta2 = list(0,10), theta12 = list(0,10)))

mitchell-thomann/doseCombR documentation built on May 24, 2019, 9:54 a.m.