Description Usage Arguments Author(s) Examples
View source: R/PharmPow_crossover.r
This function performs power calculations for mixed crossover study designs. The input data for these functions is taylored for NONMEM .phi files.
1 2 3 4 5 | PharmPow_crossover(datafullA, datareducedA, datafullB, datareducedB,
maxIDsA = 200, maxIDsB = 200, nresamples = 10000,
power = 80,
designAlab = "Number of patients sampling design A",
designBlab = "Number of patients sampling design B")
|
datafullA |
The (NONMEM).phi file from the full model fitted on design A can be defined here |
datareducedA |
The (NONMEM).phi file from the reduced model fitted on design A can be defined here |
datafullB |
The (NONMEM).phi file from the full model fitted on design B can be defined here |
datareducedB |
The (NONMEM).phi file from the reduced model fitted on design B can be defined here |
maxIDsA |
The maximum number of ID's for design A can be defined here (default is 200) |
maxIDsB |
The maximum number of ID's for design B can be defined here (default is 200) |
nresamples |
The number of resamples (different study designs) can be defined here (default is 10000) |
power |
The target power for the study designs can be defined here (default is 80%) |
designAlab |
The label for design A can be defined here (default is "Number of patients sampling design A"") |
designBlab |
The label for design B can be defined here (default is "Number of patients sampling design B") |
Frank Kloprogge & Joel Tarning
1 2 3 4 5 6 7 8 9 10 11 | # Power calculations for a mixed study design (for design C & D)
## Not run: PharmPow_crossover(datafullA=system.file("extdata","designC_full",
package="PharmPow"),
datareducedA=system.file("extdata","designC_red",
package="PharmPow"),
datafullB=system.file("extdata","designD_full",
package="PharmPow"),
datareducedB=system.file("extdata","designD_red",
package="PharmPow"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.