mardi 5 septembre 2017

Length Conditions for R Table Subset

I have a data table in R where ID is a column. Some of the IDs are 3 digits long and some are 4 digits long. I want to create a new table where only those columns that are not 4 digits long are able to be easily inspected. How do I loop through just the rows of column $ID and test for length?

Aucun commentaire:

Enregistrer un commentaire