innerMedicinMacro: The heart of the medicin macro

View source: R/RcppExports.R

innerMedicinMacroR Documentation

The heart of the medicin macro

Description

Inner process of medicin macro

Usage

innerMedicinMacro(
  dat,
  admdat,
  doses,
  idunique,
  index,
  prescriptionwindow,
  maxdepot,
  verbose
)

Arguments

dat

data set

admdat

admission data

doses

doses

idunique

unique subject ids

index

start and end index of subjects in dat and admdat

prescriptionwindow

prescription window

maxdepot

see medicine macro

verbose

feed back for debugging

Author(s)

Helene Charlotte Rytgaard and Thomas Alexander Gerds


tagteam/heaven documentation built on Oct. 24, 2024, 7:40 p.m.