plot_interactive_cma: Interactive exploration and CMA computation.

View source: R/adherer.R

plot_interactive_cmaR Documentation

Interactive exploration and CMA computation.

Description

Interactively plot a given patient's data, allowing the real-time exploration of the various CMAs and their parameters. It can use Rstudio's manipulate library or Shiny.

Usage

plot_interactive_cma(...)

Arguments

...

Parameters to be passed to plot_interactive_cma() in package AdhereRViz.

Details

This is merely a stub for the actual implementation in package AdhereRViz: it just checks if this package is installed and functional, in which case it calls the actual implementation, otherwise warns the user that AdhereRViz must be instaled.

Value

Nothing

See Also

Function plot_interactive_cma in package AdhereRViz.

Examples

## Not run: 
plot_interactive_cma(med.events,
                     ID.colname="PATIENT_ID",
                     event.date.colname="DATE",
                     event.duration.colname="DURATION",
                     event.daily.dose.colname="PERDAY",
                     medication.class.colname="CATEGORY");
## End(Not run)

AdhereR documentation built on July 5, 2022, 5:08 p.m.