Description Usage Arguments Value Examples
count the numbers of the first digits(0 excluded) of numeric vector data
1 | digitscount(v)
|
v |
a numerical vector |
A length 9 vector with ith component represents the number of first digits to be i in the input vector v.
1 2 | v<-c(0,0,0,1.2,265.7,345.6,78,89,-91,-90.9,0.1,-0.02)
digitscount(v)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.