Hi @ninou,
First, please consider to use a reproducible example (reprex
) in this question, that way it can be easy to help you: FAQ: What's a reproducible example (`reprex`) and how do I do one?
Besides that, reshape()
is a function from base R. Have you tried to use the gather()
and spread()
functions from the tidyr
package (which is part of the tidyverse)?