Package: ggpattern 1.1.1
ggpattern: 'ggplot2' Pattern Geoms
Provides 'ggplot2' geoms filled with various patterns. Includes a patterned version of every 'ggplot2' geom that has a region that can be filled with a pattern. Provides a suite of 'ggplot2' aesthetics and scales for controlling pattern appearances. Supports over a dozen builtin patterns (every pattern implemented by 'gridpattern') as well as allowing custom user-defined patterns.
Authors:
ggpattern_1.1.1.tar.gz
ggpattern_1.1.1.zip(r-4.5)ggpattern_1.1.1.zip(r-4.4)ggpattern_1.1.1.zip(r-4.3)
ggpattern_1.1.1.tgz(r-4.4-any)ggpattern_1.1.1.tgz(r-4.3-any)
ggpattern_1.1.1.tar.gz(r-4.5-noble)ggpattern_1.1.1.tar.gz(r-4.4-noble)
ggpattern_1.1.1.tgz(r-4.4-emscripten)ggpattern_1.1.1.tgz(r-4.3-emscripten)
ggpattern.pdf |ggpattern.html✨
ggpattern/json (API)
NEWS
# Install 'ggpattern' in R: |
install.packages('ggpattern', repos = c('https://trevorld.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/trevorld/ggpattern/issues
Last updated 5 months agofrom:5d3c1de3f4. Checks:OK: 5 NOTE: 2. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 01 2024 |
R-4.5-win | NOTE | Nov 01 2024 |
R-4.5-linux | NOTE | Nov 01 2024 |
R-4.4-win | OK | Nov 01 2024 |
R-4.4-mac | OK | Nov 01 2024 |
R-4.3-win | OK | Nov 01 2024 |
R-4.3-mac | OK | Nov 01 2024 |
Exports:create_polygon_dfdraw_key_boxplot_patterndraw_key_crossbar_patterndraw_key_polygon_patterngeom_area_patterngeom_bar_patterngeom_bin_2d_patterngeom_bin2d_patterngeom_boxplot_patterngeom_col_patterngeom_crossbar_patterngeom_density_patterngeom_histogram_patterngeom_map_patterngeom_polygon_patterngeom_rect_patterngeom_ribbon_patterngeom_sf_patterngeom_tile_patterngeom_violin_patternGeomAreaPatternGeomBarPatternGeomBoxplotPatternGeomColPatternGeomCrossbarPatternGeomDensityPatternGeomMapPatternGeomPolygonPatternGeomRectPatternGeomRibbonPatternGeomSfPatternGeomTilePatternGeomViolinPatternis_polygon_dfscale_pattern_alphascale_pattern_alpha_continuousscale_pattern_alpha_discretescale_pattern_alpha_identityscale_pattern_alpha_manualscale_pattern_alpha_ordinalscale_pattern_angle_continuousscale_pattern_angle_discretescale_pattern_angle_identityscale_pattern_angle_manualscale_pattern_aspect_ratio_continuousscale_pattern_aspect_ratio_discretescale_pattern_aspect_ratio_identityscale_pattern_aspect_ratio_manualscale_pattern_color_brewerscale_pattern_color_continuousscale_pattern_color_discretescale_pattern_color_distillerscale_pattern_color_gradientscale_pattern_color_gradient2scale_pattern_color_gradientnscale_pattern_color_greyscale_pattern_color_huescale_pattern_color_identityscale_pattern_color_manualscale_pattern_color_ordinalscale_pattern_color_viridis_cscale_pattern_color_viridis_dscale_pattern_colour_brewerscale_pattern_colour_continuousscale_pattern_colour_discretescale_pattern_colour_distillerscale_pattern_colour_gradientscale_pattern_colour_gradient2scale_pattern_colour_gradientnscale_pattern_colour_greyscale_pattern_colour_huescale_pattern_colour_identityscale_pattern_colour_manualscale_pattern_colour_ordinalscale_pattern_colour_viridis_cscale_pattern_colour_viridis_dscale_pattern_continuousscale_pattern_density_continuousscale_pattern_density_discretescale_pattern_density_identityscale_pattern_density_manualscale_pattern_discretescale_pattern_filename_continuousscale_pattern_filename_discretescale_pattern_filename_identityscale_pattern_filename_manualscale_pattern_fill_brewerscale_pattern_fill_continuousscale_pattern_fill_discretescale_pattern_fill_distillerscale_pattern_fill_gradientscale_pattern_fill_gradient2scale_pattern_fill_gradientnscale_pattern_fill_greyscale_pattern_fill_huescale_pattern_fill_identityscale_pattern_fill_manualscale_pattern_fill_ordinalscale_pattern_fill_viridis_cscale_pattern_fill_viridis_dscale_pattern_fill2_brewerscale_pattern_fill2_continuousscale_pattern_fill2_discretescale_pattern_fill2_distillerscale_pattern_fill2_gradientscale_pattern_fill2_gradient2scale_pattern_fill2_gradientnscale_pattern_fill2_greyscale_pattern_fill2_huescale_pattern_fill2_identityscale_pattern_fill2_manualscale_pattern_fill2_ordinalscale_pattern_fill2_viridis_cscale_pattern_fill2_viridis_dscale_pattern_filter_continuousscale_pattern_filter_discretescale_pattern_filter_identityscale_pattern_filter_manualscale_pattern_frequency_continuousscale_pattern_frequency_discretescale_pattern_frequency_identityscale_pattern_frequency_manualscale_pattern_gravity_continuousscale_pattern_gravity_discretescale_pattern_gravity_identityscale_pattern_gravity_manualscale_pattern_grid_continuousscale_pattern_grid_discretescale_pattern_grid_identityscale_pattern_grid_manualscale_pattern_identityscale_pattern_key_scale_factor_continuousscale_pattern_key_scale_factor_discretescale_pattern_key_scale_factor_identityscale_pattern_key_scale_factor_manualscale_pattern_linetypescale_pattern_linetype_continuousscale_pattern_linetype_discretescale_pattern_linetype_identityscale_pattern_linetype_manualscale_pattern_manualscale_pattern_orientation_continuousscale_pattern_orientation_discretescale_pattern_orientation_identityscale_pattern_orientation_manualscale_pattern_phase_continuousscale_pattern_phase_discretescale_pattern_phase_identityscale_pattern_phase_manualscale_pattern_res_continuousscale_pattern_res_discretescale_pattern_res_identityscale_pattern_res_manualscale_pattern_rot_continuousscale_pattern_rot_discretescale_pattern_rot_identityscale_pattern_rot_manualscale_pattern_scale_continuousscale_pattern_scale_discretescale_pattern_scale_identityscale_pattern_scale_manualscale_pattern_shapescale_pattern_shape_continuousscale_pattern_shape_discretescale_pattern_shape_identityscale_pattern_shape_manualscale_pattern_shape_ordinalscale_pattern_sizescale_pattern_size_continuousscale_pattern_size_discretescale_pattern_size_identityscale_pattern_size_manualscale_pattern_size_ordinalscale_pattern_spacing_continuousscale_pattern_spacing_discretescale_pattern_spacing_identityscale_pattern_spacing_manualscale_pattern_subtype_continuousscale_pattern_subtype_discretescale_pattern_subtype_identityscale_pattern_subtype_manualscale_pattern_type_continuousscale_pattern_type_discretescale_pattern_type_identityscale_pattern_type_manualscale_pattern_units_continuousscale_pattern_units_discretescale_pattern_units_identityscale_pattern_units_manualscale_pattern_xoffset_continuousscale_pattern_xoffset_discretescale_pattern_xoffset_identityscale_pattern_xoffset_manualscale_pattern_yoffset_continuousscale_pattern_yoffset_discretescale_pattern_yoffset_identityscale_pattern_yoffset_manual
Dependencies:cachemclassclassIntclicolorspaceDBIe1071fansifarverfastmapggplot2gluegridpatterngtableisobandKernSmoothlabelinglatticelifecyclemagrittrMASSMatrixmemoisemgcvmunsellnlmepillarpkgconfigpngproxyR6RColorBrewerRcpprlangs2scalessftibbleunitsutf8vctrsviridisLitewithrwk
Animating Patterns with gganimate
Rendered fromgganimate.Rmd
usingknitr::rmarkdown
on Nov 01 2024.Last update: 2024-06-04
Started: 2020-03-31
Creating the Logo in R
Rendered fromcreate-logo.Rmd
usingknitr::rmarkdown
on Nov 01 2024.Last update: 2022-01-10
Started: 2022-01-10
Developing Patterns
Rendered fromdeveloping-patterns.Rmd
usingknitr::rmarkdown
on Nov 01 2024.Last update: 2024-06-04
Started: 2021-12-03
Geom Gallery - Array-based Patterns
Rendered fromgeom-gallery-array.Rmd
usingknitr::rmarkdown
on Nov 01 2024.Last update: 2024-04-27
Started: 2020-03-31
Geom Gallery - Geometry-based Patterns
Rendered fromgeom-gallery-geometry.Rmd
usingknitr::rmarkdown
on Nov 01 2024.Last update: 2024-04-27
Started: 2020-03-31
Parameters for Geometry-based Patterns
Rendered fromgeometry-based-pattern-parameters.Rmd
usingknitr::rmarkdown
on Nov 01 2024.Last update: 2022-01-10
Started: 2020-03-31
Patterns 'circle', 'pch', 'regular_polygon', 'rose' - Parameters and Examples
Rendered frompatterns-points.Rmd
usingknitr::rmarkdown
on Nov 01 2024.Last update: 2024-04-30
Started: 2021-12-03
Patterns 'gradient', 'ambient', 'plasma' - Parameters and Examples
Rendered frompatterns-noise.Rmd
usingknitr::rmarkdown
on Nov 01 2024.Last update: 2024-04-20
Started: 2021-12-03
Patterns 'image' and 'placeholder' - Parameters and Examples
Rendered frompatterns-image.Rmd
usingknitr::rmarkdown
on Nov 01 2024.Last update: 2024-06-04
Started: 2022-01-07
Patterns 'magick' and 'polygon_tiling' - Parameters and Examples
Rendered frompatterns-tilings.Rmd
usingknitr::rmarkdown
on Nov 01 2024.Last update: 2024-06-04
Started: 2022-01-11
Patterns 'stripe', 'wave', 'crosshatch', 'weave' - Parameters and Examples
Rendered frompatterns-stripes.Rmd
usingknitr::rmarkdown
on Nov 01 2024.Last update: 2024-04-30
Started: 2021-12-03
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Create a 'polygon_df' object from the given coordinates | create_polygon_df |
Key glyphs for legends | draw_key_boxplot_pattern draw_key_crossbar_pattern draw_key_polygon_pattern |
ggplot2 geoms with support for pattern fills | geom-docs geom_area_pattern geom_bar_pattern geom_bin2d_pattern geom_bin_2d_pattern geom_boxplot_pattern geom_col_pattern geom_crossbar_pattern geom_density_pattern geom_histogram_pattern geom_map_pattern geom_polygon_pattern geom_rect_pattern geom_ribbon_pattern geom_sf_pattern geom_tile_pattern geom_violin_pattern |
Geom ggproto objects | GeomAreaPattern GeomBarPattern GeomBoxplotPattern GeomColPattern GeomCrossbarPattern GeomDensityPattern GeomMapPattern GeomPolygonPattern GeomRectPattern GeomRibbonPattern GeomSfPattern GeomTilePattern GeomViolinPattern ggpattern-ggproto |
Defunct data/functions | calculate_bbox_polygon_df convert_img_to_array convert_polygon_df_to_alpha_channel convert_polygon_df_to_polygon_grob convert_polygon_df_to_polygon_sf convert_polygon_sf_to_polygon_df create_gradient_img fetch_placeholder_img fill_area_with_img ggpattern-defunct magick_filter_names magick_gravity_names magick_pattern_intensity_names magick_pattern_names magick_pattern_stripe_names placeholder_names rotate_polygon_df |
Test if object is polygon_df or NULL | is_polygon_df |
Scales for continuous pattern aesthetics | scale_continuous scale_pattern_angle_continuous scale_pattern_angle_discrete scale_pattern_aspect_ratio_continuous scale_pattern_aspect_ratio_discrete scale_pattern_density_continuous scale_pattern_density_discrete scale_pattern_frequency_continuous scale_pattern_frequency_discrete scale_pattern_key_scale_factor_continuous scale_pattern_key_scale_factor_discrete scale_pattern_phase_continuous scale_pattern_phase_discrete scale_pattern_res_continuous scale_pattern_res_discrete scale_pattern_rot_continuous scale_pattern_rot_discrete scale_pattern_scale_continuous scale_pattern_scale_discrete scale_pattern_spacing_continuous scale_pattern_spacing_discrete scale_pattern_xoffset_continuous scale_pattern_xoffset_discrete scale_pattern_yoffset_continuous scale_pattern_yoffset_discrete |
Scales for discrete pattern aesthetics | scale_discrete scale_pattern_continuous scale_pattern_discrete scale_pattern_filename_continuous scale_pattern_filename_discrete scale_pattern_filter_continuous scale_pattern_filter_discrete scale_pattern_gravity_continuous scale_pattern_gravity_discrete scale_pattern_grid_continuous scale_pattern_grid_discrete scale_pattern_orientation_continuous scale_pattern_orientation_discrete scale_pattern_subtype_continuous scale_pattern_subtype_discrete scale_pattern_type_continuous scale_pattern_type_discrete scale_pattern_units_continuous scale_pattern_units_discrete |
Alpha transparency scales | scale_pattern_alpha scale_pattern_alpha_continuous scale_pattern_alpha_discrete scale_pattern_alpha_ordinal |
Sequential, diverging and qualitative colour scales from colorbrewer.org | scale_pattern_color_brewer scale_pattern_color_distiller scale_pattern_colour_brewer scale_pattern_colour_distiller scale_pattern_fill2_brewer scale_pattern_fill2_distiller scale_pattern_fill_brewer scale_pattern_fill_distiller |
Continuous and binned colour scales | scale_pattern_color_continuous scale_pattern_colour_continuous scale_pattern_fill2_continuous scale_pattern_fill_continuous |
Gradient colour scales | scale_pattern_color_gradient scale_pattern_color_gradient2 scale_pattern_color_gradientn scale_pattern_colour_gradient scale_pattern_colour_gradient2 scale_pattern_colour_gradientn scale_pattern_fill2_gradient scale_pattern_fill2_gradient2 scale_pattern_fill2_gradientn scale_pattern_fill_gradient scale_pattern_fill_gradient2 scale_pattern_fill_gradientn |
Sequential grey colour scales | scale_pattern_color_grey scale_pattern_colour_grey scale_pattern_fill2_grey scale_pattern_fill_grey |
Evenly spaced colours for discrete data | scale_pattern_color_discrete scale_pattern_color_hue scale_pattern_colour_discrete scale_pattern_colour_hue scale_pattern_fill2_discrete scale_pattern_fill2_hue scale_pattern_fill_discrete scale_pattern_fill_hue |
Viridis colour scales from viridisLite | scale_pattern_color_ordinal scale_pattern_color_viridis_c scale_pattern_color_viridis_d scale_pattern_colour_ordinal scale_pattern_colour_viridis_c scale_pattern_colour_viridis_d scale_pattern_fill2_ordinal scale_pattern_fill2_viridis_c scale_pattern_fill2_viridis_d scale_pattern_fill_ordinal scale_pattern_fill_viridis_c scale_pattern_fill_viridis_d |
Use values without scaling | scale_pattern_alpha_identity scale_pattern_angle_identity scale_pattern_aspect_ratio_identity scale_pattern_color_identity scale_pattern_colour_identity scale_pattern_density_identity scale_pattern_filename_identity scale_pattern_fill2_identity scale_pattern_fill_identity scale_pattern_filter_identity scale_pattern_frequency_identity scale_pattern_gravity_identity scale_pattern_grid_identity scale_pattern_identity scale_pattern_key_scale_factor_identity scale_pattern_linetype_identity scale_pattern_orientation_identity scale_pattern_phase_identity scale_pattern_res_identity scale_pattern_rot_identity scale_pattern_scale_identity scale_pattern_shape_identity scale_pattern_size_identity scale_pattern_spacing_identity scale_pattern_subtype_identity scale_pattern_type_identity scale_pattern_units_identity scale_pattern_xoffset_identity scale_pattern_yoffset_identity |
Scale for line patterns | scale_pattern_linetype scale_pattern_linetype_continuous scale_pattern_linetype_discrete |
Create your own discrete scale | scale_pattern_alpha_manual scale_pattern_angle_manual scale_pattern_aspect_ratio_manual scale_pattern_color_manual scale_pattern_colour_manual scale_pattern_density_manual scale_pattern_filename_manual scale_pattern_fill2_manual scale_pattern_fill_manual scale_pattern_filter_manual scale_pattern_frequency_manual scale_pattern_gravity_manual scale_pattern_grid_manual scale_pattern_key_scale_factor_manual scale_pattern_linetype_manual scale_pattern_manual scale_pattern_orientation_manual scale_pattern_phase_manual scale_pattern_res_manual scale_pattern_rot_manual scale_pattern_scale_manual scale_pattern_shape_manual scale_pattern_size_manual scale_pattern_spacing_manual scale_pattern_subtype_manual scale_pattern_type_manual scale_pattern_units_manual scale_pattern_xoffset_manual scale_pattern_yoffset_manual |
Scales for shapes, aka glyphs | scale_pattern_shape scale_pattern_shape_continuous scale_pattern_shape_discrete scale_pattern_shape_ordinal |
Scales for area or radius | scale_pattern_size scale_pattern_size_continuous scale_pattern_size_discrete scale_pattern_size_ordinal |