R - Switch levels and values in a factor

前端 未结 0 1028
陌清茗
陌清茗 2021-01-15 23:32

I am trying to convert a factor into a numeric data type, but noticed that my values and levels are swapped, so when I convert, I just get the count of each value instead of

相关标签:
回答
  • 消灭零回复
提交回复
热议问题