invertFlippedBraidModel | R Documentation |
Given a particular effect and one of the doses in a flipped combined action
response surface, this function calculates the other dose that will produce
the desired effect.invertFlippedBraidModelA
and
invertFlippedBraidModelB
are convenience wrapper functions that set DA
or DB
to NULL
to estimate the necessary concentrations of drug A and
drug B respectively.
invertFlippedBraidModel(
DA = NULL,
DB = NULL,
effect,
bpar,
flip,
invalidNA = FALSE,
lowerBound = FALSE
)
invertFlippedBraidModel_A(
DB,
effect,
bpar,
flip,
invalidNA = FALSE,
lowerBound = FALSE
)
invertFlippedBraidModel_B(
DA,
effect,
bpar,
flip,
invalidNA = FALSE,
lowerBound = FALSE
)
DA |
If not |
DB |
If not |
effect |
A vector of desired effect values to be reached. Must be
length 1 or the same length as whichever of |
bpar |
Flipped-BRAID parameter of the flipped response surface. See
|
flip |
String specifying the direction or directions of the surface's flip. Must be one of "A", "B", or "both". |
invalidNA |
Specifies what to do with values that are outside the range
of the given BRAID model or doses. If |
lowerBound |
Primarily used by |
A vector of concentrations the same length as either DA
or DB
(whichever is not NULL
) and/or effect
, representing the concentration of
the other drug producing the specified effect in combination with the given
dose of the provided drug
fbfit <- fitProtectiveBraid_A(measure ~ concA + concB,
protectiveExample, getCIs=FALSE)
invertFlippedBraidModel_A(DB=0, effect=0.5, coef(fbfit), fbfit$flip)
invertFlippedBraidModel_A(DB=0.75, effect=0.5, coef(fbfit), fbfit$flip)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.