data %>%
group_by(nationality)%>%
summarise(n=n()) %>%
mutate(freq = paste0(round(100*n/sum(n),0), "%"))
I am runnig the code able and some of the results are 0%, I believe this is supposed to be a decimal. What can I add to this code to output decimals?