Change the color of an event type

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

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