Blog Archives

Script to convert numeric integer data of data frame column into a digit matrix.

January 1, 2017
By
Script to convert numeric integer data of data frame column into a digit matrix.

At some point I found the need to manipulate and analyze each digit of a series of integer values, perform statistics with each of them and in some occasions add zeros at the beginning of each number. So I gave myself the task of performing the following script where data is the dataframe (array) and Numero is...

Read more »

Search R-bloggers

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)