Learn R Programming

TRONCO (version 2.4.2)

change.color: change.color

Description

Change the color of an event type

Usage

change.color(x, type, new.color)

Arguments

x
A TRONCO compliant dataset.
type
An event type
new.color
The new color (either HEX or R Color)

Value

A TRONCO complian dataset.

Examples

Run this code
data(test_dataset)
dataset = change.color(test_dataset, 'ins_del', 'red')

Run the code above in your browser using DataLab