powered by
Allows users to find and use features from your package using feature_set(). If the features are being registered from within a package, this feature registration should happen at load time using [.onLoad()].
feature_set()
[.onLoad()]
register_feature(fn, tags)
The feature function
Identifying tags
if (FALSE) { tukey_five <- function(x){ setNames(fivenum(x), c("min", "hinge_lwr", "med", "hinge_upr", "max")) } register_feature(tukey_five, tags = c("boxplot", "simple")) }
Run the code above in your browser using DataLab