Open aawoods97 opened 2 years ago
It might be correct, you just have a lot of Aarons in the dataset.
Try:
d$first.name %>% head( 25 ) %>% pander()
d$first.name %>% unique() %>% head( 25 )
table( d$first.name ) %>% sort()
It worked! Thank you for your help!
Hello! I am looking to create a table that shows the unique first names (similar to the one created in Lab 3 to find the top 25 most common words). I am able to output the column with all the first names. However, when I attempt to use a similar code to lab 3, I am receiving an entirely different output, pictured below. Is there a step I am missing?
Code for unique first names
d$first.name %>% sort() %>% head( 25 ) %>% pander()