Description Usage Arguments Details Value Author(s) See Also
Extension of the excellent prettyNum
from base
to
work with matrix
& data.frame
objects.
1 |
x |
a |
... |
arguments passed to |
prettyNum
is the utility function for prettifying x
.
x
can be complex (or format(<complex>)
, matrix
or data.frame
here.
If each element of x
is not a character, format(x[i], ...)
is applied to each element, and
then it is left unchanged if all the other arguments are at their
defaults. Note that prettyNum(x)
may behave unexpectedly if elements of x
are a character
vector not resulting from something like
format(<number>)
: in particular it assumes that a period is a
decimal mark.
A character object of same size and attributes as x
, in the
current locale's encoding.
Mark Cowley
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.