spc2tfl(zipfR)
spc2tfl()所属R语言包:zipfR
Convert Between Frequency Spectra and Type Frequency Lists (zipfR)
转换之间的的频率光谱和类型频率列表(zipfR)
译者:生物统计家园网 机器人LoveR
描述----------Description----------
tfl2spc computes an observed frequency spectrum from a type frequency list, while spc2tfl reconstructs the type frequency list underlying a frequency spectrum (but without type representations).
tfl2spc计算所观察到的的频谱频率从类型“列表中,而spc2tfl重建的类型相关频谱的频率列表(但不类型表示)。
用法----------Usage----------
tfl2spc(tfl)
spc2tfl(spc)
参数----------Arguments----------
参数:tfl
an object of class tfl, representing a type frequency list
一个对象的类tfl,代表一个类型的频率表
参数:spc
an object of class spc, representing a frequency spectrum
对象的类spc,频谱
Details
详细信息----------Details----------
The current implementation of these functions does not support incomplete type frequency lists and frequency spectra.
当前的实现不支持这些功能不完整的类型的频率列表和频谱。
spc2tfl can only convert frequency spectra where all class sizes are integers. For this reason, expected frequency spectra (including all spectra with variance data) are not supported.
spc2tfl只能转换频谱,所有班级规模整数。出于这个原因,预期的频率谱(包括所有光谱,方差数据)不被支持。
值----------Value----------
For tfl2spc, an object of class spc representing the frequency spectrum corresponding to the type frequency list tfl.
对于tfl2spc,类的一个对象spc代表型频率列表tfl对应的频谱。
For spc2tfl, an object of class tfl representing type frequency list underlying the observed frequency spectrum tfl.
对于spc2tfl,对象类tfl代表类型的频率表相关观测到的频谱tfl。
参见----------See Also----------
spc for more information about spc objects and links to relevant functions; tfl for more information about tfl objects and links to relevant functions
spc更多信息spc对象和链接到相关的功能; tfltfl对象和链接到相关的功能的更多信息,
实例----------Examples----------
## Brown tfl and spc[#布朗TFL和SPC]
data(Brown.tfl)
data(Brown.spc)
## a spectrum from a tfl[#从一个TFL频谱]
Brown.spc2 <- tfl2spc(Brown.tfl)
## identical to Brown.spc:[#相同Brown.spc。:]
summary(Brown.spc)
summary(Brown.spc2)
tail(Brown.spc)
tail(Brown.spc2)
## a tfl from a spectrum[#一个TFL从频谱]
Brown.tfl2 <- spc2tfl(Brown.spc)
## same frequency information as Brown.tfl[#相同的频率作为Brown.tfl的信息]
## but with different ids and no type labels[#,但不同的ID和任何类型的标签]
summary(Brown.tfl)
summary(Brown.tfl2)
print(Brown.tfl2)
print(Brown.tfl)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|