I am new to R, and I am struggling with the following issue.
I want to convert the row values which are countries to Columns and assign the corresponding values from Column Year_2000 to it. Thank you for your help! I am attaching the screen shots.
Country_a <- c("Argentina","China","US","Brazil","France","Germany","Cananda")
Country_b <- c("Brazil","Mexico","New
Zealand","France","Mongolia","China","US")
Year_2000 <- c(30,54,67,4,7,4,5)
dataframe <- data.frame(Country_a,Country_b,Year_2000)
This is the screenshot