kubectl proxy
现在,我想将估计的矩阵导出到Excel。我使用以下尝试导出所有结果(包括迭代)的操作,但未导出任何内容:
> RandomMatrix
Call:
Ipfp(seed = InitialM, target.list = Target.list, target.data = TargetData,
print = TRUE, iter = 1000)
Method: ipfp - convergence: TRUE
Estimates:
[,1] [,2] [,3] [,4] [,5]
[1,] 8.551724 8.551724 16.827586 3.0344828 3.0344828
[2,] 12.827586 12.827586 25.241379 4.5517241 4.5517241
[3,] 4.275862 4.275862 8.413793 1.5172414 1.5172414
[4,] 2.137931 2.137931 4.206897 0.7586207 0.7586207
[5,] 2.137931 2.137931 4.206897 0.7586207 0.7586207
[6,] 1.068966 1.068966 2.103448 0.3793103 0.3793103
错误消息如下:
write.csv(RandomMatrix, "RandomMatrix.csv")
write.table(RandomMatrix, 'clipboard', sep='\t')
write.table(RandomMatrix,"RandomMatrix.txt")
如何在结果中指定矩阵并将其导出到Excel?有想法吗?
谢谢!