paste.vec | R Documentation |
A simple utility for displaying simple S vectors; can be used as debugging utility.
paste.vec(name, digits = options()$digits)
name |
string with an variable name which must exist in the current environment (R session). |
digits |
how many decimal digits to be used; passed to
|
a string of the form "NAME = x1 x2 ..."
Martin Maechler, about 1992.
x <- 1:4
paste.vec(x) ##-> "x = 1 2 3 4"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.