Package: ggdiagram 0.0.0.9000

ggdiagram: Object-Oriented Diagram Plots with ggplot2

The ggdiagram package creates path diagrams with an object-oriented approach and plots diagrams with ggplot2.

Authors:W. Joel Schneider [aut, cre]

ggdiagram_0.0.0.9000.tar.gz
ggdiagram_0.0.0.9000.zip(r-4.5)ggdiagram_0.0.0.9000.zip(r-4.4)
ggdiagram_0.0.0.9000.tgz(r-4.5-any)ggdiagram_0.0.0.9000.tgz(r-4.4-any)
ggdiagram_0.0.0.9000.tar.gz(r-4.5-noble)ggdiagram_0.0.0.9000.tar.gz(r-4.4-noble)
ggdiagram_0.0.0.9000.tgz(r-4.4-emscripten)
ggdiagram.pdf |ggdiagram.html
ggdiagram/json (API)
NEWS

# Install 'ggdiagram' in R:
install.packages('ggdiagram', repos = c('https://wjschne.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/wjschne/ggdiagram/issues

Pkgdown site:https://wjschne.github.io

On CRAN:

diagramsfactor-analysisggplot2path-analysiss7structural-equation-modeling

4.38 score 32 stars 64 exports 72 dependencies

Last updated 17 days agofrom:4617b8d4b7. Checks:1 OK, 5 WARNING. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKFeb 03 2025
R-4.5-winWARNINGFeb 03 2025
R-4.5-macWARNINGFeb 03 2025
R-4.5-linuxWARNINGFeb 03 2025
R-4.4-winWARNINGFeb 03 2025
R-4.4-macWARNINGFeb 03 2025

Exports:%-|%%>%%|-%as.geombindcircle_from_3_pointsclass_aesthetics_listclass_colorconnectdegreedistanceequationget_tibbleget_tibble_defaultsggdiagraminsideintersectionintersection_anglelabel_objectlatex_colormap_obmean_colormidpointnudgeob_angleob_arcob_arrayob_bezierob_circleob_circular_segmentob_covarianceob_ellipseob_interceptob_labelob_latexob_lineob_ngonob_pathob_pointob_polarob_polygonob_rectangleob_reuleauxob_segmentob_shape_listob_styleob_varianceob_wedgeplacepolar2justprojectionproppropsradianredefaultresectrotateround_probabilityset_propssigns_centeredsubscriptsuperscriptturnunbind

Dependencies:arrowheadraskpassbezierchkclicolorspacecommonmarkcpp11curldplyrfansifarvergenericsgeomtextpathggarrowggforceggplot2ggtextgluegridtextgtablehmsisobandjanitorjpegjsonlitelabelinglatticelifecyclelubridatemagickmagrittrmarkdownMASSMatrixmgcvmunsellnlmepdftoolspillarpkgconfigpngpolyclippurrrqpdfR6RColorBrewerRcppRcppEigenrlangS7scalessignssnakecasestringistringrsyssystemfontstextshapingtibbletidyrtidyselecttimechangetintertinytextweenrutf8vctrsviridisLitewithrxfunxml2

Readme and manuals

Help Manual

Help pageTopics
as.geom functionas.geom
bind methodbind
Get a circle from 3 pointscircle_from_3_points
color classclass_color
Arrow connect one shape to anotherconnect
Calculate distance between 2 pointsdistance
equationequation
Get object data with styles in a tibbleget_tibble get_tibble_defaults
ggdiagram functionggdiagram
is an ob_point inside a shape ?inside
intersection of 2 objects (e.g., lines)intersection
Compute the angle of the intersection of two objectsintersection_angle
Automatic label for objectslabel_object
Surround TeX expression with a color commandlatex_color
map_obmap_ob
Average across colorsmean_color
Get one or more points at positions from 0 to 1midpoint
Move an objectnudge
ob_angledegree ob_angle radian turn
ob_arc classob_arc ob_circular_segment ob_wedge
make an array of shapes along a lineob_array
The ob_bezier (i.e., bezier curve) classob_bezier
ob_circle classob_circle
create double-headed arrow paths indicating varianceob_covariance
ob_ellipse classob_ellipse
ob_interceptob_intercept
ob_label classob_label
ob_latex classob_latex
ob_line classob_line
The ob_ngon (regular polygon) classob_ngon
The ob_path classob_path
ob_pointob_point ob_polar
The ob_polygon classob_polygon
ob_rectangle classob_rectangle
Reuleaux polygonob_reuleaux
ob_segment classob_segment
ob_shape_listob_shape_list
ob_style classob_style
create double-headed arrow paths indicating varianceob_variance
Find point perpendicular to 2 points%-|% %|-% perpendicular_horizontal perpendicular_point perpendicular_vertical
Place an object a specified distance from another objectplace
polar2justpolar2just
Find projection of a point on an object (e.g., line or segment)projection
Make a variant of a function with alternate defaultsredefault
resectresect
Rotate an object in 2 dimensionsrotate
Probability roundinground_probability
Centering signed numberssigns_centered
Create subscriptssubscript superscript
unbindunbind