R: Create sample with at least one element from each category

后端 未结 0 1312
隐瞒了意图╮
隐瞒了意图╮ 2020-12-05 02:29

For linear regression to predict house prices, I need to make train and test sample of 80% and 20% proportion.
However, some of the variables are factors of which few

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