set_hooks {tinyplot}R Documentation

Set and remove hooks

Description

This interface wraps the base setHook() function to provide a return value that makes it easy to undo.

Usage

set_hooks(hooks, action = "append")

remove_hooks(hooks)

Arguments

hooks

a named list of hooks - each hook can either be a function or a list of functions.

action

"replace", "append" or "prepend"


[Package tinyplot version 0.4.2 Index]