找回密码
 注册
查看: 467|回复: 0

R语言 soil.spec包 read.spc()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 11:27:24 | 显示全部楼层 |阅读模式
read.spc(soil.spec)
read.spc()所属R语言包:soil.spec

                                        Reads spectral spc-files into R
                                         读光谱SPC文件到R

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

read.spc reads binary spectral spc-files from a folder into R. The spectra can be made compatible (see details in make.comp) either to the first sample wavebands or to the standard wavebands of the ICRAF spectral lab. Information from the scanning method is gathered to check on spectral comparability.
read.spc读取的二进制光谱的SPC文件从一个文件夹到R.的光谱可以兼容(详见make.comp)的第一个样品的波段或以标准的ICRAF波段光谱实验室。收集信息的扫描方法检查光谱可比性。


用法----------Usage----------


read.spc(loa = "NULL", save.path = "NULL", sav = "FALSE", output.name = "Spectral matrix", save.as = "workspace", wavenumber = "first.sample")



参数----------Arguments----------

参数:loa
a character giving the path name where the spc-files are stored. If "NULL" (default), the spc-files are stored in the current working directory.
字符的SPC-文件的存储路径名。如果"NULL"(默认),SPC-文件存储在当前的工作目录。


参数:save.path
a character giving the path name where the function output shall be saved.
字符功能的输出应予以保存的路径名。


参数:sav
a logical value indicating whether the function output shall be saved.
一个逻辑值,该值指示是否应保存功能输出。


参数:output.name
a character giving the function output name, in case sav is "TRUE".
功能输出名称的字符的情况下,sav是"TRUE"。


参数:save.as
a character vector indicating the format of the saved output. "workspace" saves the function output named with output.name as workspace. "csv.file" saves the function output as csv-file.
一个字符向量指示的已保存的输出格式。 "workspace"命名output.name作为工作区的保存功能输出。 "csv.file"保存为csv文件输出的功能。


参数:wavenumber
a character giving the way how the samples should be made compatible. If "first.sample", all spectra are made compatible to the first read sample. if "ICRAF", all spectra are made compatible to the standard wavebands of the ICRAF spectral lab.
样品应作出怎样的方式兼容的字符。如果"first.sample",所有的光谱是由第一次读样品兼容。如果"ICRAF",所有的光谱是由兼容标准的ICRAF波段光谱实验室。


Details

详细信息----------Details----------

Spectra from the near- and mid-infrared range can be read. In case the spc-files saved in loa comprise both ranges the function output is given separate for each range.
从近红外和中红外范围内的光谱可以被读取。在情况下,SPC-文件保存在loa中包括两个范围的功能输出提供一个单独的每个范围。

The function allows to read only spectra in one go, when they have the same material (e.g. soil or plant), were scanned with the same resolution and have the same zero filling. If there are still small differences in the number of wavebands, the spectra are made compatible depending on the argument wavenumber. In case spectra with different materials shall be read, the user has to decide the material via graphical interface.
该功能允许只读光谱一气呵成,当他们有同样的材料(如土壤或植物),具有相同的分辨率进行扫描,并具有相同的零填充。如果仍然有小的差异的波段的数目中,光谱兼容根据的论点wavenumber。用不同的材料的情况下,光谱应被读取时,用户决定经由图形界面的材料。


值----------Value----------

read.spc returns a list with class "read.spc" containing the following components:  <table summary="R valueblock"> <tr valign="top"><td>spectra</td> <td> a numerical matrix containing the read spectra.</td></tr> <tr valign="top"><td>additional.information</td> <td> a data frame containing some scanning method details.</td></tr> </table>
read.spc返回一个列表类"read.spc"包含以下组件:<table summary="R valueblock"> <tr valign="top"> <TD> spectra</ TD> < TD>一个数值矩阵读光谱。</ TD> </ TR> <tr valign="top"> <TD>additional.information</ TD> <td>一个数据框包含一些扫描方法的详细内容。 </ TD> </ TR> </ TABLE>


(作者)----------Author(s)----------


Thomas Terhoeven-Urselmans

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-6-8 20:48 , Processed in 0.027902 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表