stat_connect_samplestat_manual_samplestat_summary_2d_sample /stat_summary_hex_samplestat_summary_sample/`stat_summary_bin_sample``stat_unique_samplewalktoberstat_ellipse_samplestat_ecdf_samplestat_density_2d_samplestat_count_samplestat_bin_2d_sample/stat_bin_hex_samplegeom_contour_samplegeom_bin_2d_sample/geom_bin_hex_sampleposition_stack_nestedposition_identity_dodge)geom_point_samplegeom_sf_sample now accepts random variables to allaesthetics and the subdivision was moved to the position argumentposition_subdivive had bug fixed and now also workswith sf objectsgeom_abline_sample/geom_hline_sample /geom_vline_samplegeom_smooth_samplegeom_spoke_samplegeom_segment_sample/geom_curvegeom_ribbon_sample/geom_areageom_boxplot_samplegeom_freqpolly_sample /geom_histogram_samplegeom_dotplot_samplegeom_crossbar_sample /geom_errorbar_sample /geom_linerange_sample /geom_pointrange_samplegeom_qqline_sample /geom_quantile_samplegeom_violin_samplegeom_raster_sample /geom_rect_sample /geom_tile_sampleuncertain_faithfuld an uncertain version ofggplot2::faithfuldThese functions are all heavily in development, and I cannot (and donot) guarantee their usability beyond the use cases presented in theexample code. There are still some kinks to work out with the groupingsolution. You are welcome to use them, but I would stick to the examplecases for the next few weeks (don’t go crazy with any random fill orgroup aesthetics is all I will say). New additions to stats and geomsinclude:
geom_bar_sample,geom_col_sample andstat_count_samplegeom_count_sample andstat_sum_samplegeom_jitter_samplegeom_density_sample andstat_density_samplegeom_text_sample andgeom_label_samplegeom_polygon_samplegeom_rug_samplegeom_path_sample,geom_line_sample, andgeom_step_sampleWe also have the addition of a discrete position distributionscale:
scale_x_discrete_distribution &scale_y_discrete_distributionAs we go through and replicate theggplot2 examples, wehave been adding random versions of theggplot2 data sets.This will make it clear to the users how the package works, andhighlight that the uncertainty visualisation is a function of anexisting graphic.
smaller_diamonds is a subset ofggplot2::diamondssmaller_uncertain_diamonds is a random variable versionofsmaller_diamondsuncertain_mpg is a random variable version ofggplot2::mpguncertain_mtcars is a random variableuncertain_economics anduncertain_economics_longer are random variable version ofggplot2::economicsscale_*_distribution toscale_*_continuous_distributionscale_*_discrete_distribution to allow plotting of discreterandom variablesgeom_point_sample andstat_samplegeom_point that allows adistribution to be passed to any aestheticscale_x_distribution andscale_y_distributionn variable ingeom_sf_sample haschanged to thetimesn is used by someggplot2 functions as a parameter.times actually represents the sample size, whilen was the dimension of the grid (so the actual sample usedwas\(n^2\))times will be used togenerate the subdivided gridInitial CRAN submission.
geom_sf_sample(): Visualise an sf object with randomvariable for filltoy_temp: A toy data set that has the ambienttemperature as measured by a hypothetical citizen scientists inIowatoy_temp_dist: A toy data set of Iowa with an exampleaverage temperature for each county