Deb*_*hya 5 combinations r
可能重复: 如何计算R中的组合和排列?
当我尝试使用Combinat包和combn命令计算R中的组合时,它给了我所有可能的组合.但我只想返回组合的数量,即我希望在10C2的情况下得到45.我该怎么办?
Combinat
combn
Blu*_*ter 33
使用基本功能choose:
choose
choose(10,2) #[1] 45
归档时间:
13 年,4 月 前
查看次数:
31575 次
最近记录: