R: set variables type and levels in a data frame , based on list

后端 未结 0 601
情话喂你
情话喂你 2020-12-13 11:49

I have a data frame like this:

df <- data.frame(v1=sample(c("L1","L2"),5,replace = TRUE), v2=sample(c("F1","F3"),5,re

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