View source: R/helpers_model.R
h_model_dual_endpoint_beta | R Documentation |
DualEndpoint
model with regard to parameters
of the function that models dose-biomarker relationship defined in the
DualEndpointBeta
class.A simple helper function that takes DualEndpoint
object and updates
use_fixed
, priormodel
, modelspecs
, init
, sample
slots with regard
to a given parameter of the dose-biomarker relationship f(x)
defined in
the DualEndpointBeta
class. This update solely depends on whether a given
parameter's value param
is a fixed-valued scalar or two-elements numeric
vector. In the later case, it is assumed that param
represents two
parameters of a probability distribution that will be used in priormodel
function to generate values for the param_name
parameter of f(x)
.
See the help page for DualEndpointBeta
class for more details.
h_model_dual_endpoint_beta(
param,
param_name,
param_suffix = c("_low", "_high"),
priormodel = NULL,
de
)
param |
( |
param_name |
( |
param_suffix |
( |
priormodel |
( |
de |
( |
A DualEndpoint
model with updated use_fixed
, priormodel
,
modelspecs
, init
, sample
slots.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.