Skip to contents

This function creates a pharmacokinetic dose dataset from the provided concentration data.

Usage

format_pkncadose_data(pkncaconc_data, group_columns)

Arguments

pkncaconc_data

A data frame containing the concentration data.

group_columns

A character vector specifying the columns to group by.

Value

A data frame containing the dose data.

Details

The function performs the following steps:

  • Arranges and groups the data by group_columns

  • Selects the first row within each group (arranged by DOSNOA- a variable created in format_pkncaconc_data)

Note*: This function is designed to work with the output of format_pkncaconc_data.