gap_label: Function to draw a gapped labels

Description Usage Arguments Value

View source: R/gap_label.R

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


gapmap documentation built on April 19, 2021, 5:06 p.m.