create_medication_timeseries: create_medication_timeseries

View source: R/create_medication_timeseries.R

create_medication_timeseriesR Documentation

create_medication_timeseries

Description

create_medication_timeseries

Usage

create_medication_timeseries(
  cohort_df,
  meds_df,
  t_start,
  t_end,
  step,
  window_span,
  t_units,
  search_meds,
  merge_func = function(x) {
     mean(as.numeric(x), na.rm = T)
 }
)

Arguments

cohort_df

d

meds_df

d

t_start

d

t_end

d

step

d

window_span

d

t_units

d

search_meds

d

merge_func

d

Value

medication timeseries


nicksunderland/acsprojectns documentation built on July 20, 2023, 7:23 p.m.