我希望使用matplot可视化数据,但最初我需要通过R.cbind
将它们合并。
我有两个分位数数组quantiles1
和quantiles2
就像这样
val it : double [] =
[|9.493529797e-05; 0.00356456441; 0.006148920477; 0.01201379844;
0.04056193231; 0.1144207457; 0.3402441047; 0.7572200933; 1.432890804;
2.755986279|]
当我打电话
R.cbind(quantiles1, quantiles2)
结果是
val it : SymbolicExpression =
...
[1,] 0.0000949353
[2,] 0.0035645644
[3,] 0.0061489205
[4,] 0.0120137984
[5,] 0.0405619323
[6,] 0.1144207457
[7,] 0.3402441047
[8,] 0.7572200933
[9,] 1.4328908043
[10,] 2.7559862789
但我希望这里有两列。
在F#类型提供程序中使用cbind
获取正确结果的方法是什么?