make_grouping: Grouping

Description Usage Arguments Details Value

View source: R/utility.R

Description

The function make_grouping() makes the grouping according to the grouping column.

Usage

1

Arguments

data

A data frame with the dissolution profile data in wide format and a column for the distinction of the groups to be compared.

grouping

A character string specifying the column in data that contains the group names (i.e. a factorial variable, e.g., for the differentiation of batches or formulations of a drug product).

Details

If one of the two levels of the grouping column is named “references” or “References” or some abbreviation thereof (in the extreme case just “r”) this level will be used as reference level. Otherwise the first level of the grouping column (according to the level sorting of the column) will be assumed representing the reference group.

Value

A logical vector of length nrow(data) where TRUE represents the reference and FALSE represents the test group.


disprofas documentation built on Dec. 8, 2021, 5:10 p.m.