View source: R/model-MuSyC-init.R
MuSyC_init | R Documentation |
Initial values for the MuSyC model
MuSyC_init(
logE0 = function() stats::runif(n = 1, min = log(0.4), max = log(0.6)),
logE1 = function() stats::runif(n = 1, min = log(0.4), max = log(0.6)),
logC1 = function() stats::runif(n = 1, min = -0.2, max = 0.2),
h1 = function() stats::runif(n = 1, min = 3, max = 5),
logE2 = function() stats::runif(n = 1, min = log(0.4), max = log(0.6)),
logC2 = function() stats::runif(n = 1, min = -0.2, max = 0.2),
h2 = function() stats::runif(n = 1, min = 3, max = 5),
logE3 = function() stats::runif(n = 1, min = log(0.4), max = log(0.6)),
logalpha = function() stats::runif(n = 1, min = -0.2, max = 0.2),
...
)
logE0 |
|
logE1 |
|
logC1 |
|
h1 |
|
logE2 |
|
logC2 |
|
h2 |
|
logE3 |
|
logalpha |
|
... |
additional parameter initialization. Each named argument should be
a function that returns a |
input for BayesPharma::model_MuSyC(init = ...)
parameter.
## Not run:
# default prior and init for MuSyC Model
prior <- BayesPharma::MuSyC_prior()
init <- BayesPharma::MuSyC_init()
# Set prior and init for MuSyC model where both treatment 1 and treatment 2
# are assumed to be full inhibitors
BayesPharma::MuSyC_prior(logE0 = 0, E1 = -Inf, E2 = -Inf, E3 = -Inf)
BayesPharma::MuSyC_init(E0 = 1, E1 = -Inf, E2 = -Inf, E3 = -Inf)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.