tx_sunburst: Generate an sunburst plot for treatment data.

Description Usage Arguments

View source: R/tx_sunburst.r

Description

Using a txvis object, plot the sequencing of treatments using a sunburst plot.

Usage

1
2
3
tx_sunburst(txvis, nsequ = NULL, seq.v.dat = "seq", start = NULL,
  end = NULL, interval = "month", conflict = "majority",
  tx_color = NULL)

Arguments

txvis

An object of class txvis.

nsequ

What is the maximum number of sequences

seq.v.dat

Should the data be plotted by sequence order or by date?

start

If supplied the data will be truncated to all sequences after a start date.

end

If supplied the data will be truncated to all sequences before the end date.

interval

Length of time for intervening intervals for data plotted by date.

conflict

If two treatments fall within the same date interval, which should be displayed?

tx_color

A colorRampPalette to color the sequnces. Note that the first element of the color vector always codes to "None".


johnwilsonICON/txvis documentation built on May 19, 2019, 5:18 p.m.