register_feature | R Documentation |
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()]
.
register_feature(fn, tags)
fn |
The feature function |
tags |
Identifying tags |
## Not run:
tukey_five <- function(x){
setNames(fivenum(x), c("min", "hinge_lwr", "med", "hinge_upr", "max"))
}
register_feature(tukey_five, tags = c("boxplot", "simple"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.