Learn R Programming

AdhereR (version 0.7.0)

plot_interactive_cma: 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.

Value

Nothing

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.

See Also

Function plot_interactive_cma in package AdhereRViz.

Examples

Run this code
# 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");
# }

Run the code above in your browser using DataLab