mmstat.dec | R Documentation |
Computes the number of the significant digits based on the smallest non-zero difference of the sorted data.
mmstat.dec(x, ord = NULL)
x |
numeric: data vector |
ord |
index: subset of the ordered data (default: |
The number of significant digits and (the subset of) the order of the data.
x <- rnorm(20) d <- mmstat.dec(x) # create strings so that they are unique (if they were) sprintf("%.*f", d$dec, x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.