How to divide a column with categorized data into new columns

How can I divide a colum woth categorized data into 5 different columns. It is similar to changind rows into columns... Sorry, I don't even know how to describe it better. Images for example on how I need it to be!



To help us help you, could you please prepare a reproducible example (reprex) illustrating your issue? Please have a look at this guide, to see how to create one:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.