externalVector-class(externalVector)
externalVector-class()所属R语言包:externalVector
Class "externalVector", base class for vector objects stored in
类的“externalVector”,为矢量对象存储在基类
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This class represents objects that behave like R basic
这个类表示的对象,如R基本行为
类的对象----------Objects from the Class----------
A virtual Class: No objects may be created from it.
可以从它创建一个虚拟类:无对象。
方法----------Methods----------
Common signature components for the methods:
共同签名组件的方法:
The class "externalVector"
类“externalVector”
The class "externalVector"
类“externalVector”
Description of the methods:
方法描述:
asEach(x, type, arrayOnly) Coerce x so that it now
asEach(X,类型,arrayOnly)强制x所以它现在
c(x, ..., recursive) Combine all the arguments into a
C(X,...,递归)组合成的所有参数
as.Rvector(x) Coerce x to a basic R vector with same names, dimension and dimnames (if any of these are present in
as.Rvector(X)强制xR的一个基本相同的名称,维和dimnames的向量(如果任何这些都是目前在
as.vector(x, mode) Return an external vector which behaves
as.vector(X模式)返回外部向量,它的行为
as.logical(x, ...) Return an external vector with all
as.logical(X,...)返回所有外部向量
as.integer(x, ...) Return an external vector with all
as.integer(X,...)返回所有外部向量
as.double(x, ...) Return an external vector with all
as.double(X,...)返回所有外部向量
as.numeric(x, ...) Return an external vector with all
as.numeric(X,...)返回所有外部向量
as.charcater(x) Return an external vector with all
as.charcater(x)返回所有外部向量
as.list(x, ...) Return an external vector that behaves like
as.list(X,...)返回一个外部的向量,其行为像
as.single(x, ...) Return an external vector with all elements coerced to numeric and a "CSingle" attribute set to
as.single(X,...)返回强制转换为数字的所有元素和“CSingle”属性设置为外部向量
as.data.frame(x, row.names, optional) Create a data.frame
as.data.frame(X,row.names,可选)创建一个数据框
as.matrix(x) If length(dim(x)) is 2, return x unchanged. Otherwise, return x as a matrix with a
as.matrix(X)length(dim(x))2回x不变。否则,返回与x作为一个矩阵
defaultElement(x) The default element of x contained
defaultElement(x)的默认元素x载
dimnames(x) <- value Set dimnames of x to value.
dimnames(X)< - x值的值设置dimnames。
names(x) <- value Set names of x to value.
名称(X)< - x值的值集名。
show(object) Display object.
展(对象)显示object。
apply(X, MARGIN, FUN, ...) Coerce X to an R matrix and call
申请(x,保证金,好玩,...)要挟X到一个R矩阵和
lapply(X, FUN, ...) Lapply for "externalVector"
lapply(x,好玩,...)Lapply“externalVector”
sapply(X, FUN, ..., simplify, USE.NAMES) Sapply for
sapply(x,乐趣,...,简化,USE.NAMES)Sapply为
mean(x, trim = 0, na.rm = FALSE, ...) Mean and trimmed
(X,修剪= 0,na.rm = FALSE,...)平均和修剪
median(x, na.rm = FALSE) Mean of x.
中位数(X,na.rm = FALSE)平均x。
虚拟方法----------Virtual Methods----------
Common signature components for implementation of the virtual methods:
实施虚拟方法的共同签名的组件:
A subclass of "externalVector"
一个子类的“externalVector”
The class "ANY"
类的“ANY”
Description of the virtual methods:
虚拟方法的描述:
setDimNames(x, value) Set the dimnames of x to value without any error checking or coercion. Return the
setDimNames(X值)设置dimnamesxvalue没有任何错误检查或胁迫。返回
setNames(x, value) Set the names of x to value without any error checking or coercion. Return the modified
setNames(X值)设置x名value没有任何错误检查或胁迫。返回修改后的
参见----------See Also----------
externalVectorWithStorage-class,matrixIndex-class, indirectExternalVector-class, indirectExternalMatrix-class, for subclasses of "externalVector".
externalVectorWithStorage-class,matrixIndex-class,indirectExternalVector-class,indirectExternalMatrix-class,"externalVector"的子类。
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|