compute_position: Return npc-based positional values for common alignments

View source: R/ggplot2-annotations.R

compute_positionR Documentation

Return npc-based positional values for common alignments

Description

Return npc-based positional values for common alignments

Usage

compute_position(position)

Arguments

position

One of "top-left", "top-right", "bottom-left", "bottom-right", "center".

Value

A list of hjust, vjust, x, and y


yjunechoe/penngradlings documentation built on Sept. 6, 2024, 8:13 p.m.