Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

get.plotted.partial.cmas

Get info about the plotted partial CMAs.


Description

Returns a data.frame where each row contains info about one plotted partial CMA (partial CMAs make sense only for "complex" CMAs, i.e., per episode and sliding windows).

Usage

get.plotted.partial.cmas(
  plot.type = c("baseR", "SVG")[1],
  suppress.warnings = FALSE
)

Arguments

plot.type

Can be either "baseR" or "SVG" and specifies to which type of plotting the mapping applies.

suppress.warnings

Logical, if TRUE don't show any warnings.

Details

This is intended for advanced users only.

Value

A data.frame that contains info about:

  • the patient ID (pid) to which the partial CMA belongs.

  • the type of partial CMA (see the help for plotting "complex" CMAs).

  • the corners of the whole area covered by the partial CMA plot given as x.region.start, y.region.start, x.region.end and y.region.end.

  • for each element of the partial CMA plot, its area as x.partial.start, y.partial.start, x.partial.end and y.partial.end.

Please note that this contains one row per partial CMA element (e.g., if plotting stacked, one row for each rectangle).


AdhereR

Adherence to Medications

v0.6.1
GPL (>= 2)
Authors
Dan Dediu [aut, cre], Alexandra Dima [aut], Samuel Allemann [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.