0

我正在尝试使用 R 中的 mdlp 包来离散化我作为示例创建的连续数据。

A=cbind(2,3,6,7,29,56,192,1256)
A=t(A)
mdlp(A)

但我收到以下错误

Error in cutp[[i]] <- cuts1 : 
  attempt to select less than one element in integerOneIndex
In addition: Warning messages:
1: In min(x) : no non-missing arguments to min; returning Inf
2: In max(x) : no non-missing arguments to max; returning -Inf

谁能告诉我有什么问题?为什么一个包不能处理这么短的序列?

4

0 回答 0