getTimes: Get all distinct times for the specified object.

View source: R/generic.R

getTimesR Documentation

Get all distinct times for the specified object.

Description

Get all distinct times for the specified object.

Usage

getTimes(object, ...)

## S4 method for signature 'treatment'
getTimes(object, unwrap = TRUE)

## S4 method for signature 'observations'
getTimes(object, doseTimes = NULL)

## S4 method for signature 'observations_set'
getTimes(object, doseTimes = NULL)

## S4 method for signature 'arm'
getTimes(object)

## S4 method for signature 'arms'
getTimes(object)

## S4 method for signature 'events'
getTimes(object)

## S4 method for signature 'dataset'
getTimes(object)

Arguments

object

any object

...

extra arguments like 'doseTimes' in observations or 'unwrap' in treatment

unwrap

unwrap treatment before accessing the times, default value is TRUE

doseTimes

times of the doses, only needed if a [DosingSchedule()] is referred to

Value

numeric vector with all unique times, sorted


campsis documentation built on Jan. 28, 2026, 5:07 p.m.