【发布时间】:2016-12-10 00:07:34
【问题描述】:
我正在研究肿瘤模式组合在预测其恶性程度方面的作用。 我有这个由 6 个分类变量 (YES/NO) 描述的甲状腺结节特征表。
ID color shape halo calcium margins solid
1 1 1 1 1 0 0
2 1 1 0 0 1 0
3 0 0 1 1 1 1
4 0 0 1 0 0 0
5 1 1 1 1 0 1
我想知道他们三个的存在组合的流行程度。 在这个例子中是:
combination freq
color, shape, calcium 2
shape, halo, calcium 2
color, shape, margins 1
....
我最终得到了他们每个人的普遍性
as.data.frame(table(tiradsLong$caratteristica, tiradsLong$valore))
这不是我的目标。
提前致谢, 安杰洛
【问题讨论】:
标签: r combinations