Skip to contents

Create "Typical Value" Definition for use with "SIMON" typical value simulation

Usage

createTvDefinition(
  drugName,
  drugValue,
  doses,
  times = NULL,
  type = c("Parallel", "Crossover"),
  sequence,
  testCall = TRUE
)

Arguments

drugName

...

drugValue

...

doses

...

times

...

type

...

sequence

...

testCall

...

Value

A "tvDefinition" object

Details

Constructs "tvDefinition" object

Author

Mike K Smith mstoolkit@googlemail.com

Examples


createTvDefinition("A", 1, 1:3)
#> An object of class "tvDefinition"
#> Slot "Name":
#> [1] "A"
#> 
#> Slot "Value":
#> [1] 1
#> 
#> Slot "trtCall":
#> $doses
#> [1] 1 2 3
#> 
#> $times
#> NULL
#> 
#> $type
#> [1] "Parallel"
#> 
#>