我想替换某个列中的所有值,
例如这是我的数据框
Bootstrap (r = 0.5)... Done.
Bootstrap (r = 0.6)... Done.
Bootstrap (r = 0.7)... Done.
Bootstrap (r = 0.8)... Done.
Bootstrap (r = 0.9)... Done.
Bootstrap (r = 1.0)... Done.
Bootstrap (r = 1.1)... Done.
Bootstrap (r = 1.2)... Done.
Bootstrap (r = 1.3)... Done.
Bootstrap (r = 1.4)... Done.
Warning messages:
1: inappropriate distance matrices are omitted in computation: r = 0.5
2: inappropriate distance matrices are omitted in computation: r = 0.6
3: inappropriate distance matrices are omitted in computation: r = 0.7
4: inappropriate distance matrices are omitted in computation: r = 0.8
5: inappropriate distance matrices are omitted in computation: r = 0.9
6: inappropriate distance matrices are omitted in computation: r = 1
7: inappropriate distance matrices are omitted in computation: r = 1.1
8: inappropriate distance matrices are omitted in computation: r = 1.2
9: inappropriate distance matrices are omitted in computation: r = 1.3
10: inappropriate distance matrices are omitted in computation: r = 1.4
我想将C列中的所有值替换为另一个值,例如“NaN”
为此,我是否需要使用pvclust
或Label A B C
1 2 3 4
2 3 2 1
4 4 4 4
之类的内容?
我尝试了这个.ix
,但它只返回了一个字符串“NaN”