I have a dataset in the char format. For example
RPGRTSRTSGBAPSPPS3XBXTBSFFS
would be 8.
Is there a function I can use to return the number of unique abbreviations in the dataset. I have tried length(unique(x)), but that did not return the correct answer.
Best Answer