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
.prob
argument, which is a long-deprecated alias for.width
, was removed in ggdist 3.1.The
limits_function
argument: 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_args
argument: extra stat parameters are now passed through to the...
arguments toAbstractStatSlabInterval$compute_limits()
; use these instead.The
slab_function
argument: 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_args
argument: extra stat parameters are now passed through to the...
arguments toAbstractStatSlabInterval$compute_slab()
; use these instead.The
interval_function
andfun.data
arguments: 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_args
andfun.args
arguments: to pass extra arguments to apoint_interval
replace the value of thepoint_interval
argument 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_domain
andsize_range
arguments, which are long-deprecated aliases forinterval_size_domain
andinterval_size_range
, were removed in ggdist 3.1.