Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 R 中使用树库,但是当我将数据放入树命令时,有时会得到回归树,有时会得到分类树。这是关于什么的?谢谢!
从帮助页面 ( ?tree)
?tree
左侧(响应)应该是拟合回归树时的数值向量或生成分类树时的因子。