tac_lab: Example of Lab Time Data for Tacrolimus

tac_labR Documentation

Example of Lab Time Data for Tacrolimus

Description

An example dataset used in processLastDose that contains lab time data. This dataset should have one row per patient ID-date pair, and contain the time a lab was performed as a datetime variable.

Usage

data(tac_lab, package = 'EHR')

Format

A data frame with 2 observations on the following variables.

pid

A character vector, patient ID associated with the lab value

date

A character vector, date associated with the lab value

labtime

A POSIXct vector, datetime at which the lab was performed formatted as YYYY-MM-DD HH:MM:SS

Examples

data(tac_lab)

EHR documentation built on Dec. 28, 2022, 1:31 a.m.