Function to draw a gapped labels

Share:

Description

This function draws a gapped labels using the ggplot2 package. The input for the function is the gapdata class object, generated from gap_data() function.

Usage

1
gap_label(data, orientation, label_size = 5)

Arguments

data

gapdata class object

orientation

orientation of the labels, "left", "top", "right", or "bottom"

label_size

a numeric to set the label text size

Value

a ggplot object