Learn R Programming

EHR (version 0.4-11)

tac_lab: 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')

Arguments

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

Run this code
data(tac_lab)

Run the code above in your browser using DataLab