Skip to main content
Skip table of contents

setNCAResultsStratification

Set the stratification used to compute NCA 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
setNCAResultsStratification(
  split = NULL,
  filter = NULL,
  groups = NULL,
  state = NULL
)

Arguments

split

(vector) Ordered list of splitted covariates

filter

(list< pair> >) List of pairs 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:

namecharactercovariate name
definitionvector(continuous) || list>(categorical)group separations (continuous) || modality sets (categorical)

A stratification state is represented as a list with:

splitvectorordered list of splitted covariates
filterlist< pair> >list of paired containing a covariate name and the indexes of associated kept groups

Note: For acceptance criteria filtering, it is possible to give only the criterion name instead of a pair.

Examples

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

setNCAResultsStratification(filter = "Span")
setNCAResultsStratification(filter = list("Span", list("SEX", 1)))

setNCAResultsStratification(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 = getNCAResultsStratification()
setNCAResultsStratification(state = s$state, groups = s$groups)
}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.