Object-Oriented Diagram Plots with 'ggplot2'
ggdiagram: Object-Oriented Diagram Plots with 'ggplot2'
ggdiagram function
is an ob_point inside a shape ?
Compute the angle of the intersection of two objects
intersection of 2 objects (e.g., lines)
Automatic label for objects
Surround TeX expression with a color command
map_ob
Average across colors
Get one or more points at positions from 0 to 1
Move an object
ob_angle
ob_arc class
make an array of shapes along a line
The ob_bezier (i.e., bezier curve) class
ob_circle class
as.geom function
bind method
Get a circle from 3 points
class_aesthetics_list
color class
Arrow connect one shape to another
Make shapes from data
Calculate distance between 2 points
equation
Place an object a specified distance from another object
Function to calculate hierarchy depth in lavaan models
Get object data with styles in a tibble
Create subscripts
unbind
Convert hjust and vjust parameters from polar coordinates
Find projection of a point on an object (e.g., line or segment)
Make a variant of a function with alternate defaults
Objects exported from other packages
resect
Rotate an object in 2 dimensions
Probability rounding
Centering signed numbers
Return default arrowhead
create double-headed arrow paths indicating variance
ob_ellipse class
ob_intercept
ob_label class
create double-headed arrow paths indicating variance
ob_latex class
ob_line class
The ob_ngon (regular polygon) class
The ob_path class
ob_point
The ob_polygon class
ob_rectangle class
Reuleaux polygon
ob_segment class
ob_shape_list
ob_style class
Find point perpendicular to 2 points
Pipe operator
Creates diagrams with an object-oriented approach. Geometric objects have computed properties with information about themselves (e.g., their area) or about their relationships with other objects (e.g, the distance between their edges). The objects have methods to convert them to geoms that can be plotted in 'ggplot2'.
Useful links