f2calc {BayesDissolution}R Documentation

Calculation of the f2 Statistic

Description

This function calculates the f2 statistic as described in Moore and Flanner (1996).

Usage

f2calc(dis_data)

Arguments

dis_data

A data frame containing the dissolution data. The first column of the data frame should denote the group labels identifying whether a given dissolution belongs to the "reference" or "test" formulation group. For a given dissolution run, the remaining columns of the data frame contains the individual run's dissolution measurements sorted in time. Alternatively, the user may provide a data object of class dis_data containing the dissolution data. See the make_dis_data() function for the particular structure of the data object.

Value

The function returns the f2 statistic calculated from the observed dissolution data.

Note

Use the plotdiss() or ggplotdiss() function to visually check if it's appropriate to calculate the f2 statistic.

References

Moore, J.W. and Flanner, H.H. (1996). Mathematical comparison of distribution profiles. Pharmaceutical Technology, 20(6):64-74.

Examples

### dis_data comes loaded with the package
f2calc(dis_data)


[Package BayesDissolution version 0.2.0 Index]