I have a dataset with a column for IDs. Few of these IDs are not integers but have decimals points. The dataset is very large, so I cannot just skim through. Here an example:
ID <- c(1, 2, 3, 4, 5.19, 6, 7, 8, 9, 10.732)
I would like to return the value and/or position of those with decimals. So something like:
[5] 5.19
[10] 10.732
Is this possible?
Many thanks in advance.