Skip to contents

The nominal time of observations (e.g., PCTPT) is not required to follow a strict format and is in most cases provided as a composite string. This function can be used to explicitly define the nominal observation times (in hours) for the values of, e.g., PCTPT.

Usage

add_time_mapping(obj, ...)

Arguments

obj

The SDTM object.

...

Mappings in the form '""=' with multiple mappings separated by commas. corresponds to the value in the PCTPT fields, and NTIME corresponds to the nominal time in hours.

Value

The SDTM object

See also

Examples

sdtm_object <- add_time_mapping(examplinib_fe,
  "PREDOSE" = 0,
  "HOUR 0.5" = 0.5,
  "HOUR 1" = 1,
  "HOUR 1.5" = 1.5,
  "HOUR 2" = 2,
  "HOUR 3" = 3,
  "HOUR 4" = 4,
  "HOUR 6" = 6,
  "HOUR 8" = 8,
  "HOUR 10" = 10,
  "HOUR 12" = 12,
  "HOUR 24" = 24,
  "HOUR 48" = 48,
  "HOUR 72" = 72,
  "HOUR 96" = 96,
  "HOUR 144" = 144,
  "HOUR 168" = 168
)