InternalMethods(base)
InternalMethods()所属R语言包:base
Internal Generic Functions
内部通用功能
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Many R-internal functions are generic and allow methods to be written for.
许多的R-内部功能是通用的,允许将书面方法。
Details
详情----------Details----------
The following primitive and internal functions are generic, i.e., you can write methods for them:
以下的原始和内部功能是通用的,也就是说,你可以写methods他们:
[, [[, $, [<-, [[<-, $<-,
[,[[,$,[<-,[[<-,$<-
length, length<-, dimnames, dimnames<-, dim, dim<-, names, names<-, levels<-,
length,length<-,dimnames,dimnames<-,dim,dim<-,names,names<-,levels<-,
c, unlist, cbind, rbind,
c,unlist,cbind,rbind
as.character, as.complex, as.double, as.integer, as.logical, as.raw, as.vector, is.array, is.matrix, is.na, is.nan, is.numeric, rep, seq.int (which dispatches methods for "seq") and xtfrm
as.character,as.complex,as.double,as.integer,as.logical,as.raw,as.vector,is.array,is.matrix,is.na,is.nan,is.numeric,rep,seq.int和"seq"(调度xtfrm的方法)
In addition, is.name is a synonym for is.symbol and dispatches methods for the latter.
此外,is.name是is.symbol和调度方法为后者的代名词。
Note that all of the group generic functions are also internal/primitive and allow methods to be written for them.
请注意,所有的通用功能组也内部/原始,并允许为他们写的方法。
.S3PrimitiveGenerics is a character vector listing the primitives which are internal generic and not group generic. Currently as.vector, cbind, rbind and unlist are the internal non-primitive functions which are internally generic.
.S3PrimitiveGenerics是一个特征向量,列出内部通用的,而不是组通用的原语。目前as.vector,cbind,rbind和unlist是内部的非基本职能,是国内通用。
For efficiency, internal dispatch only occurs on objects, that is those for which is.object returns true.
为了提高效率,内部调度只发生在对象上,就是那些is.object返回true。
参见----------See Also----------
methods for the methods which are available.
methods可用的方法。
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|