Skip to contents

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 using stat_dist_XXX(), you should now be able to use stat_XXX() instead without additional modifications in almost all cases.

  • stat_sample_slabinterval() is deprecated. You should be able to use stat_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 in stat_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 with AbstractStatSlabInterval$compute_limits().

  • The limits_args argument: extra stat parameters are now passed through to the ... arguments to AbstractStatSlabInterval$compute_limits(); use these instead.

  • The slab_function argument: this was a parameter for determining the function to compute slabs in stat_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 with AbstractStatSlabInterval$compute_slab().

  • The slab_args argument: extra stat parameters are now passed through to the ... arguments to AbstractStatSlabInterval$compute_slab(); use these instead.

  • The interval_function and fun.data arguments: these were parameters for determining the function to compute intervals in stat_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 with AbstractStatSlabInterval$compute_interval().

  • The interval_args and fun.args arguments: to pass extra arguments to a point_interval replace the value of the point_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 and size_range arguments, which are long-deprecated aliases for interval_size_domain and interval_size_range, were removed in ggdist 3.1.

Author

Matthew Kay