Description Usage Arguments Examples

The optimization method `minimize`

is based on the package
`nloptr`

. This requires upper and lower boundaries for optimization.
Such boundaries can be computed via `lower_boundary_design`

respectively `upper_boundary_design`

.
They are implemented by default in `minimize`

.
Note that `minimize`

allows the user to define its own
boundary designs, too.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | ```
get_lower_boundary_design(initial_design, ...)
get_upper_boundary_design(initial_design, ...)
## S4 method for signature 'OneStageDesign'
get_lower_boundary_design(initial_design, n1 = 1, c1_buffer = 2, ...)
## S4 method for signature 'GroupSequentialDesign'
get_lower_boundary_design(
initial_design,
n1 = 1,
n2_pivots = 1,
c1_buffer = 2,
c2_buffer = 2,
...
)
## S4 method for signature 'TwoStageDesign'
get_lower_boundary_design(
initial_design,
n1 = 1,
n2_pivots = 1,
c1_buffer = 2,
c2_buffer = 2,
...
)
## S4 method for signature 'OneStageDesign'
get_upper_boundary_design(
initial_design,
n1 = 5 * initial_design@n1,
c1_buffer = 2,
...
)
## S4 method for signature 'GroupSequentialDesign'
get_upper_boundary_design(
initial_design,
n1 = 5 * initial_design@n1,
n2_pivots = 5 * initial_design@n2_pivots,
c1_buffer = 2,
c2_buffer = 2,
...
)
## S4 method for signature 'TwoStageDesign'
get_upper_boundary_design(
initial_design,
n1 = 5 * initial_design@n1,
n2_pivots = 5 * initial_design@n2_pivots,
c1_buffer = 2,
c2_buffer = 2,
...
)
``` |

`initial_design` |
The initial design |

`...` |
optional arguments The values |

`n1` |
bound for the first-stage sample size n1 |

`c1_buffer` |
shift of the early-stopping boundaries from the initial ones |

`n2_pivots` |
bound for the second-stage sample size n2 |

`c2_buffer` |
shift of the final decision boundary from the initial one |

1 2 3 4 5 6 7 8 9 | ```
initial_design <- TwoStageDesign(
n1 = 25,
c1f = 0,
c1e = 2.5,
n2 = 50,
c2 = 1.96,
order = 7L
)
get_lower_boundary_design(initial_design)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.