binaryRep(SoDA)
binaryRep()所属R语言包:SoDA
Generate Binary Representation in R
在R中生成的二进制表示
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Functions to generate a binary representation from numeric data, as an example of vectorizing computations.
函数来产生从数字数据的二进制表示,作为一个例子的向量化的计算。
用法----------Usage----------
binaryRep(data, m = .Machine$double.digits)
binaryRepA(m)
binaryRepBits(data)
binaryRepPowers(n, m)
参数----------Arguments----------
参数:data
numeric data
数字数据
参数:m
number of bits in mantissa
尾数中的比特数
参数:n
range for powers
权力的范围
值----------Value----------
The main function, binaryRep returns an object from class "binaryRep" providing the components of the representation of data, as well as the original data itself.
的主要功能,binaryRep返回从类"binaryRep"data,以及原始数据本身的代表性的组件提供一个目的。
The other functions are helper functions; see the examples in the book.
其他的功能是辅助函数;在书中看到的例子。
类binaryRep----------Class binaryRep----------
The object returned
返回的对象
original: The original data, of class "numeric"
original:原始数据,的类"numeric"
sign, exponent: Objects of class
sign,exponent:类的对象
bits: Object of class "raw" for the significand.
bits:对象类"raw"的尾数。
实例----------Examples----------
binaryRep(c(.1, .25, 1/3))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|