Package: ggpp 0.5.8-1.9000
ggpp: Grammar Extensions to 'ggplot2'
Extensions to 'ggplot2' respecting the grammar of graphics paradigm. Geometries: geom_table(), geom_plot() and geom_grob() add insets to plots using native data coordinates, while geom_table_npc(), geom_plot_npc() and geom_grob_npc() do the same using "npc" coordinates through new aesthetics "npcx" and "npcy". Statistics: select observations based on 2D density. Positions: radial nudging away from a center point and nudging away from a line or curve; combined stacking and nudging; combined dodging and nudging.
Authors:
ggpp_0.5.8-1.9000.tar.gz
ggpp_0.5.8-1.9000.zip(r-4.5)ggpp_0.5.8-1.9000.zip(r-4.4)ggpp_0.5.8-1.9000.zip(r-4.3)
ggpp_0.5.8-1.9000.tgz(r-4.4-any)ggpp_0.5.8-1.9000.tgz(r-4.3-any)
ggpp_0.5.8-1.9000.tar.gz(r-4.5-noble)ggpp_0.5.8-1.9000.tar.gz(r-4.4-noble)
ggpp_0.5.8-1.9000.tgz(r-4.4-emscripten)ggpp_0.5.8-1.9000.tgz(r-4.3-emscripten)
ggpp.pdf |ggpp.html✨
ggpp/json (API)
NEWS
# Install 'ggpp' in R: |
install.packages('ggpp', repos = c('https://aphalo.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/aphalo/ggpp/issues
Pkgdown:https://docs.r4photobiology.info
- birch.df - Birch seedlings' size
- birch_dw.df - Birch seedlings' size
- ivy.df - Ivy photosynthesis light response
- quadrant_example.df - Gene expression data
- volcano_example.df - Gene expression data
- weather_18_june_2019.df - Weather data
data-labelsdatavizggplot2-enhancementsggplot2-geomsggplot2-insetsggplot2-positions
Last updated 1 months agofrom:d533c321a3. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Dec 13 2024 |
R-4.5-win | OK | Dec 13 2024 |
R-4.5-linux | OK | Dec 13 2024 |
R-4.4-win | OK | Dec 13 2024 |
R-4.4-mac | OK | Dec 13 2024 |
R-4.3-win | OK | Dec 13 2024 |
R-4.3-mac | OK | Dec 13 2024 |
Exports:annotateas_npcas_npcxas_npcycompute_npccompute_npcxcompute_npcydark_or_lightdraw_key_label_sdraw_key_text_sgeom_grobgeom_grob_npcgeom_label_npcgeom_label_pairwisegeom_label_sgeom_plotgeom_plot_npcgeom_point_sgeom_quadrant_linesgeom_tablegeom_table_npcgeom_text_npcgeom_text_pairwisegeom_text_sgeom_vhlinesgeom_x_margin_arrowgeom_x_margin_grobgeom_x_margin_pointgeom_y_margin_arrowgeom_y_margin_grobgeom_y_margin_pointGeomGrobGeomGrobNpcGeomLabelNpcGeomLabelPairwiseGeomLabelSGeomPlotGeomPlotNpcGeomPointSGeomQuadrantLinesGeomTableGeomTableNpcGeomTextNpcGeomTextPairwiseGeomTextSGeomVHLinesGeomXMarginArrowGeomXMarginGrobGeomXMarginPointGeomYMarginArrowGeomYMarginGrobGeomYMarginPointposition_dodge_keepposition_dodge2_keepposition_dodge2nudgeposition_dodgenudgeposition_fill_keepposition_fillnudgeposition_jitter_keepposition_jitternudgeposition_nudge_centerposition_nudge_centreposition_nudge_keepposition_nudge_lineposition_nudge_toposition_stack_keepposition_stack_minmaxposition_stacknudgePositionFillAndNudgePositionNudgeCenterPositionNudgeLinePositionNudgeToscale_npcx_continuousscale_npcy_continuousstat_apply_groupstat_centroidstat_dens1d_filterstat_dens1d_filter_gstat_dens1d_labelsstat_dens2d_filterstat_dens2d_filter_gstat_dens2d_labelsstat_fmt_tbstat_functionsstat_group_countsstat_panel_countsstat_quadrant_countsstat_summary_xyStatApplyGroupStatDens1dFilterStatDens1dFilterGStatDens1dLabelsStatDens2dFilterStatDens2dFilterGStatDens2dLabelsStatFmtTbStatFunctionsStatGroupCountsStatPanelCountsStatQuadrantCountstry_data_frametry_tibblettheme_gtbwttheme_gtdarkttheme_gtdefaultttheme_gtlightttheme_gtminimalttheme_gtplainttheme_gtsimplettheme_gtstripesttheme_setwrap_labels
Dependencies:clicolorspacecpp11dplyrfansifarvergenericsggplot2gluegridExtragtableisobandlabelinglatticelifecyclelubridatemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigpolynomR6RColorBrewerrlangscalesstringistringrtibbletidyselecttimechangeutf8vctrsviridisLitewithrxtszoo
Readme and manuals
Help Manual
Help page | Topics |
---|---|
ggpp: Grammar Extensions to 'ggplot2' | ggpp-package ggpp |
Annotations supporting NPC | annotate |
Birch seedlings' size | birch.df birch_dw.df |
Compute NPC coordinates | as_npc as_npcx as_npcy compute_npc compute_npcx compute_npcy |
Chose between dark and light color | dark_or_light |
Inset graphical objects | geom_grob geom_grob_npc |
Text with Normalised Parent Coordinates | geom_label_npc geom_text_npc |
Label pairwise comparisons | geom_label_pairwise geom_text_pairwise |
Linked Text | geom_label_s geom_text_s |
Inset plots | geom_plot geom_plot_npc |
Points linked by a segment | geom_point_s |
Reference lines: horizontal plus vertical, and quadrants | geom_quadrant_lines geom_vhlines |
Inset tables | geom_table geom_table_npc |
Reference arrows on the margins | geom_x_margin_arrow geom_y_margin_arrow |
Add Grobs on the margins | geom_x_margin_grob geom_y_margin_grob |
Reference points on the margins | geom_x_margin_point geom_y_margin_point |
Create a new ggplot plot from time series data | ggplot ggplot.ts ggplot.xts |
Ivy photosynthesis light response | ivy.df |
Combined positions dodge and nudge | position_dodge2nudge position_dodge2_keep position_dodgenudge position_dodge_keep |
Combined positions jitter and nudge | position_jitternudge position_jitter_keep |
Nudge labels away from a central point | position_nudge_center position_nudge_centre |
Nudge points a fixed distance | position_nudge_keep |
Nudge labels away from a line | position_nudge_line |
Nudge labels to new positions | position_nudge_to |
Combined positions stack and nudge | position_fillnudge position_fill_keep position_stacknudge position_stack_keep position_stack_minmax |
Gene expression data | quadrant_example.df |
Position scales for continuous data (npcx & npcy) | scale_continuous_npc scale_npcx_continuous scale_npcy_continuous |
Apply a function to x or y values | stat_apply_group stat_centroid stat_summary_xy |
Filter observations by local 1D density | stat_dens1d_filter stat_dens1d_filter_g |
Replace labels in data based on 1D density | stat_dens1d_labels |
Filter observations by local 2D density | stat_dens2d_filter stat_dens2d_filter_g |
Replace labels in data based on 2D density | stat_dens2d_labels |
Select and slice a tibble nested in 'data' | stat_fmt_tb |
Draw functions as curves | stat_functions |
Number of observations in a plot panel | stat_group_counts stat_panel_counts |
Number of observations in quadrants | stat_quadrant_counts |
Convert an R object into a tibble | try_data_frame try_tibble |
Table themes | ttheme_gtbw ttheme_gtdark ttheme_gtdefault ttheme_gtlight ttheme_gtminimal ttheme_gtplain ttheme_gtsimple ttheme_gtstripes |
Set default table theme | ttheme_set |
Gene expression data | volcano_example.df |
Weather data | weather_18_june_2019.df |
Wrap character strings in a vector | wrap_labels |