Say we have a vector like the one below:
countries <- c("UK", "Germany", "Italy", "Denmark")
I would like to create another one out of this, but longer like the following one:
countries_long <- c("UK", "UK", "UK", "UK", "Germany", "Germany", "Italy", "Italy", "Denmark", "Denmark", "Denmark")
How could I achieve this outcome?