toString.sig | R Documentation |
Prints a function signature object.
## S3 method for class 'sig' toString(x, width = getOption("width"), exdent = nchar(x$name), ...) ## S3 method for class 'sig' print(x, width = getOption("width"), exdent = nchar(x$name), ...)
x |
An object of class |
width |
Width of string to display. |
exdent |
Non-negative integer specifying the indentation of subsequent lines in the string. |
... |
Passed to |
toString
creates a string representation of a
function signature.
print
is mostly invoked for the side effect of printing
a function
signature, invisibly returning its input.
print_default_sig <- sig(print.default) print(print_default_sig) print(print_default_sig, width = 40) print(print_default_sig, width = 40, exdent = 2) toString(print_default_sig)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.