num2str | R Documentation |
Converts a set of numeric variables to a list as string representation, either as decimal or as a fractional number.
num2str(..., denom = -1)
... |
numeric variables |
denom |
integer: denominator for fractional number |
A list.
x <- 1
l <- num2str(x) # returns in l$x the string representation
l <- num2str(x, y=x+1) # returns in l$x and l$y the string representations
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.