optimise-design: Optimise a trial design

Description Usage Arguments See Also Examples

Description

[todo]

Usage

1
2
3
Problem(objective, toer, power, label = "", unimodal = FALSE, ...)

optimise_design(problem, verbosity = 3, timelimit = 180, ...)

Arguments

objective

object of class Objective (see objectives)

toer

type one error rate constraint (see constraints)

power

power constraint (see constraints)

label

label for the problem

unimodal

force unimodal solution (can be time consuming!)

...

optional arguments

problem

object of class Problem

verbosity

verbosity level of optimisation procedure

timelimit

maximum time spent in ILP solver (in seconds)

See Also

scores, constraints, objectives, Design

Examples

1
2
3
4
5
6
7
  prior   <- Beta(5, 7)
  problem <- Problem(
      minimise(SampleSize(prior)),
      Power(prior %|% 0.2) <= 0.05,
      Power(prior  >= 0.3) >= 0.80
  )
  design <- optimise_design(problem)

kkmann/badr documentation built on Oct. 18, 2020, 5:22 p.m.