PharmPow_parallel: Pharmacometric power calculations for mixed parallel study...

Description Usage Arguments Author(s) Examples

View source: R/PharmPow_parallel.r

Description

This function performs power calculations for mixed parallel study designs. The input data for these functions is taylored for NONMEM .phi files.

Usage

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")

Arguments

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")

Author(s)

Frank Kloprogge & Joel Tarning

Examples

 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)

PharmPow documentation built on May 2, 2019, 2:07 a.m.