checkData(pcaMethods)
checkData()所属R语言包:pcaMethods
Do some basic checks on a given data matrix
在一个给定的数据矩阵做一些基本检查
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Check a given data matrix for consistency with the format required for further analysis. The data must be a numeric matrix and not contain:
检查的一致性作进一步分析所需要的格式的数据矩阵。数据必须是一个数字矩阵和不包含:
Inf values
INF值
NaN values
NaN值
Rows or columns that consist of NA only
组成的北美唯一的行或列
用法----------Usage----------
checkData(data, verbose=FALSE)
参数----------Arguments----------
参数:data
matrix – Data to check.
matrix - 数据检查。
参数:verbose
boolean – If TRUE, the function prints messages whenever an error in the data set is found. </table>
boolean - 如果为TRUE,函数打印消息时,发现一个错误的数据集。 </ TABLE>
值----------Value----------
参数:isValid
boolean – TRUE if no errors were found, FALSE otherwise. isValid contains a set of attributes, these are:
boolean - TRUE,如果没有发现错误,否则返回FALSE。 isValid方法包含了一组属性,它们是:
isNumeric - TRUE if data is numeric, false otherwise
的ISNUMERIC - TRUE,如果数据是数字,否则返回false
isInfinite - TRUE if data contains 'Inf' values, false otherwise
isInfinite - TRUE,如果数据中包含INF的值,否则返回false
isNaN - TRUE if data contains 'NaN' values, false otherwise
的isNaN - 如果数据中包含“南”值,否则返回false
isMatrix - TRUE if the data is in matrix format, FALSE otherwise
isMatrix - 如果矩阵格式的数据,否则返回FALSE
naRows - TRUE if data contains rows in which all elements are 'NA', FALSE otherwise
naRows - TRUE,如果数据包含在其中的所有元素都是不适用的行,否则返回FALSE
naCols - TRUE if data contains columns in which all elements are 'NA', FALSE otherwise </ul> </table>
naCols - TRUE,如果数据包含列在其中所有的元素是“无”,否则返回FALSE </ UL> </ TABLE>
作者(S)----------Author(s)----------
Wolfram Stacklies
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|