MonolixSuite in R
Breadcrumbs

setCAResultsStratification

[PKanalix] Set CA results stratification

Set the stratification used to compute CA parameters statistics table. Stratification is defined by:

  • stratification covariate groups which are shared by both NCA and CA results

  • a stratification state which is specific to each task results

Usage

R
setCAResultsStratification(
  split = NULL,
  filter = NULL,
  groups = NULL,
  state = NULL
)

Arguments

split (vector) Ordered list of splitted covariates filter (list< pair> >) List of paired containing a covariate name and the indexes of associated kept groups groups Stratification groups list state Stratification state

Details

For each covariate, stratification groups can be defined as a list with:

name

character

covariate name

definition

vector(continuous) || list>(categorical)

group separations (continuous) || modality sets (categorical)

A stratification state is represented as a list with:

split

vector

ordered list of splitted covariates

filter

list< pair> >

list of paired containing a covariate name and the indexes of associated kept groups

See also

getCAResultsStratification

Examples

R
if (FALSE) {
setCAResultsStratification(split = "SEX")
setCAResultsStratification(split = c("SEX", "WEIGHT"))

setCAResultsStratification(filter = list("SEX", 1))
setCAResultsStratification(filter = list(list("SEX", 1), list("WEIGHT", c(1,3))))

setCAResultsStratification(split = "WEIGHT", filter = list(list("TRT", c(1,2))),
groups = list(list(name = "WEIGHT", definition = c(65,5, 72)), list(name = "TRT", definition = list(c("a","b"), "c", c("d","e")))))

s = getCAResultsStratification()
setCAResultsStratification(state = s$state, groups = s$groups)
}