Make something speak
Description
A generic with a single animal method. Calling it by its full method name, speak.animal(), gets a narrowed tooltip; calling the generic, speak(), also resolves (it’s aliased and exported here), just to this page’s whole block rather than the narrowed method signature.
Usage
speak(x, ...)
## S3 method for class 'animal'
speak(x, ...)
Arguments
x
|
An object to make speak. |
…
|
Passed to methods. |
Value
Invisibly, x.