# Object-Oriented Diagram Plots with 'ggplot2'

## Documentation for package ‘ggdiagram’ version 0.2.0

- DESCRIPTION file
- User guides, package vignettes and other documentation
- Package NEWS
- Package README

## Help Pages

%-|% | Find point perpendicular to 2 points
%|-% | Find point perpendicular to 2 points
arrowhead | Return default arrowhead
as.geom | as.geom function
bind | bind method
circle_from_3_points | Get a circle from 3 points
class_color | color class
connect | Arrow connect one shape to another
data2shape | Make shapes from data
degree | ob_angle
distance | Calculate distance between 2 points
equation | equation
get_depth | Function to calculate hierarchy depth in lavaan models
get_tibble | Get object data with styles in a tibble
get_tibble_defaults | Get object data with styles in a tibble
ggdiagram | ggdiagram function
inside | is an ob_point inside a shape ?
intersection | intersection of 2 objects (e.g., lines)
intersection_angle | Compute the angle of the intersection of two objects
label_object | Automatic label for objects
lag_cycle | Finds the "previous" (lag) or "next" (lead) values in a vector or object with values at the end of the vector recycled to the beginning.
latex_color | Surround TeX expression with a color command
lead_cycle | Finds the "previous" (lag) or "next" (lead) values in a vector or object with values at the end of the vector recycled to the beginning.
map2_ob | Map over two ggdiagram objects
map_ob | Map over a ggdiagram object
mean_color | Average across colors
midpoint | Get one or more points at positions from 0 to 1
nudge | Move an object
ob_angle | ob_angle
ob_arc | ob_arc class
ob_array | Object Arrays
ob_bezier | The ob_bezier (i.e., bezier curve) class
ob_circle | ob_circle class
ob_circular_segment | ob_arc class
ob_covariance | Covariance object
ob_ellipse | ob_ellipse class
ob_intercept | ob_intercept
ob_label | ob_label class
ob_latex | ob_latex class
ob_line | ob_line class
ob_ngon | The ob_ngon (regular polygon) class
ob_path | The ob_path class
ob_point | ob_point
ob_polar | ob_point
ob_polygon | The ob_polygon class
ob_rectangle | ob_rectangle class
ob_reuleaux | Reuleaux polygon
ob_segment | ob_segment class
ob_shape_list | ob_shape_list
ob_style | ob_style class
ob_variance | Variance object
ob_wedge | ob_arc class
perpendicular_horizontal | Find point perpendicular to 2 points
perpendicular_point | Find point perpendicular to 2 points
perpendicular_vertical | Find point perpendicular to 2 points
place | Place an object a specified distance from another object
polar2just | Convert hjust and vjust parameters from polar coordinates
projection | Find projection of a point on an object (e.g., line or segment)
radian | ob_angle
redefault | Make a variant of a function with alternate defaults
rescale | Rescale an object in 2 dimensions
resect | resect
rotate | Rotate an object in 2 dimensions
round_probability | Probability rounding
set_default_arrowhead | Return default arrowhead
signs_centered | Centering signed numbers
subscript | Create subscripts
superscript | Create subscripts
turn | ob_angle
unbind | unbind