Deprecated functions and arguments and their alternatives are listed below.
Deprecated stats and geoms
The stat_sample_... and stat_dist_... families of stats were merged in ggdist 3.1.
This means:
stat_dist_...is deprecated. For any code usingstat_dist_XXX(), you should now be able to usestat_XXX()instead without additional modifications in almost all cases.stat_sample_slabinterval()is deprecated. You should be able to usestat_slabinterval()instead without additional modifications in almost all cases.
The old stat_dist_... names are currently kept as aliases, but may be removed in the future.
Deprecated arguments
Parameters for stat_slabinterval() and family deprecated as of ggdist 3.1 are:
The
.probargument, which is a long-deprecated alias for.width, was removed in ggdist 3.1.The
limits_functionargument: this was a parameter for determining the function to compute limits of the slab instat_slabinterval()and its derived stats. This function is really an internal function only needed by subclasses of the base class, yet added a lot of noise to the documentation, so it was replaced withAbstractStatSlabInterval$compute_limits().The
limits_argsargument: extra stat parameters are now passed through to the...arguments toAbstractStatSlabInterval$compute_limits(); use these instead.The
slab_functionargument: this was a parameter for determining the function to compute slabs instat_slabinterval()and its derived stats. This function is really an internal function only needed by subclasses of the base class, yet added a lot of noise to the documentation, so it was replaced withAbstractStatSlabInterval$compute_slab().The
slab_argsargument: extra stat parameters are now passed through to the...arguments toAbstractStatSlabInterval$compute_slab(); use these instead.The
interval_functionandfun.dataarguments: these were parameters for determining the function to compute intervals instat_slabinterval()and its derived stats. This function is really an internal function only needed by subclasses of the base class, yet added a lot of noise to the documentation, so it was replaced withAbstractStatSlabInterval$compute_interval().The
interval_argsandfun.argsarguments: to pass extra arguments to apoint_intervalreplace the value of thepoint_intervalargument with a simple wrapper; e.g.stat_halfeye(point_interval = \(...) point_interval(..., extra_arg = XXX))
Parameters for geom_slabinterval() and family deprecated as of ggdist 3.1 are:
The
size_domainandsize_rangearguments, which are long-deprecated aliases forinterval_size_domainandinterval_size_range, were removed in ggdist 3.1.