Skip to contents

S3 method to add netify_labels objects to ggplot objects. This method updates the labels of existing scales based on the specifications in the netify_labels object.

Usage

# S3 method for class 'netify_labels'
ggplot_add(object, plot, object_name)

Arguments

object

A netify_labels object created by netify_scale_labels

plot

A ggplot object to which the labels will be added

object_name

The name of the object being added (used internally by ggplot2)

Value

A ggplot object with updated scale labels