Description Usage Arguments Author(s) Examples
View source: R/PharmPow_parallel.r
This function performs power calculations for mixed parallel study designs. The input data for these functions is taylored for NONMEM .phi files.
1 2 3 4 5 6 | PharmPow_parallel(datafullA, datareducedA, datastratifyA, stratifyA,
datafullB, datareducedB, datastratifyB, stratifyB,
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 |
datastratifyA |
The (NONMEM TABLE) file containing the covariate to stratify design A for can be defined here |
stratifyA |
The covariate to stratify design A for 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 |
datastratifyB |
The (NONMEM TABLE) file containing the covariate to stratify design B for can be defined here |
stratifyB |
The covariate to stratify design B for 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 12 13 14 15 16 17 | # Power calculations for a mixed study design (for design A & B)
## Not run: PharmPow_parallel(datafullA=system.file("extdata","designA_full",
package="PharmPow"),
datareducedA=system.file("extdata","designA_red",
package="PharmPow"),
datastratifyA=system.file("extdata","designA_stratify",
package="PharmPow"),
stratifyA="PREG",
datafullB=system.file("extdata","designB_full",
package="PharmPow"),
datareducedB=system.file("extdata","designB_red",
package="PharmPow"),
datastratifyB=system.file("extdata","designB_stratify",
package="PharmPow"),
stratifyB="PREG")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.