The data is as follows:
abc <- c('New York','New Yorkk','Paris','Pari',"Dublin")
I want to find similar names in this vector and make a resulting data frame that has the count of similar names and non-similar names.
The output should be like the result generated by the following data frame:
results <- data.frame(Length = length(abc),
Similar_names = 2,
Not_Similar_Names=1)