0

我正在尝试创建 Spectra 对象 (.RData),就像在 ChemoSpec.pdf 上建议的那样(参见下面的代码),我收到如下错误消息:

“找不到 getManyCsv 函数”

我该如何解决?任何建议表示赞赏。我有 R 版本 3.1.0 和 ChemoSpec 版本 2.0-2。

这是代码:

getManyCsv(gr.crit = c("ICLPS", "PEPS"), gr.cols = c("red3", "dodgerblue4"),freq.unit = "ppm", int.unit = "peak intensity", descrip = "PS Study",out.file = "PS")

干杯,

阿维尔

4

1 回答 1

0

我有同样的问题,发现:

http://cran.r-project.org/web/packages/ChemoSpec/NEWS

下列的:

##### Version 2.0.0
Date: 2013-12-07
>> normSpectra modified to avoid integer overflow.
>> Modified plotScree & plotScree2 so that data sets with less than 10 components plot.
>> Freshened up the README.md file.
>> To facilitate using expressions in plot titles, argument 'title' has been removed from all         functions that use base or lattice graphics and now one should use 'main'. The 'title' argument    remains for the rgl graphics functions.  THIS WILL BREAK EARLIER CODE, hence the move to a new major version.
>> Semantic versioning is now in effect.  See semver.org for details.
>> getManyCsv has been removed (deprecated for one year now).  Use files2SpectraObject instead.

因此可能需要使用 files2SpectraObject 而不是 getManyCsv。

于 2014-11-09T00:57:11.347 回答