xpose.plot.splom(xpose4generic)
xpose.plot.splom()所属R语言包:xpose4generic
The Xpose 4 generic functions for scatterplot matrices.
XPOSE散点图矩阵的4个通用功能。
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function is a wrapper for the lattice splom function.
这个函数是一个包装的格splom功能。
用法----------Usage----------
xpose.plot.splom(plist, object,
varnames=NULL,
main = "Scatterplot Matrix",
xlb = NULL,
ylb = NULL,
scales = list(),
onlyfirst=TRUE,
inclZeroWRES=FALSE,
subset = xsubset(object),
by=object@Prefs@Graph.prefs$condvar,
force.by.factor=FALSE,
include.cat.vars = FALSE,
ordby = NULL,
byordfun = object@Prefs@Graph.prefs$byordfun,
shingnum = object@Prefs@Graph.prefs$shingnum,
shingol = object@Prefs@Graph.prefs$shingol,
strip = function(...)
strip.default(...,strip.names=c(TRUE,TRUE)),
groups = NULL,
ids = object@Prefs@Graph.prefs$ids,
smooth = TRUE,
lmline = NULL,
panel = xpose.panel.splom,
aspect = object@Prefs@Graph.prefs$aspect,
samp=NULL,
max.plots.per.page=4,
mirror = FALSE,
mirror.aspect="fill",
pass.plot.list=FALSE,
x.cex=NULL,
y.cex=NULL,
main.cex=NULL,
mirror.internal=list(strip.missing=missing(strip)),
...)
参数----------Arguments----------
参数:plist
A vector of strings containing variable names for the scatterplot matrix.
字符串包含变量名的散点图矩阵的矢量。
参数:object
An "xpose.data" object.
一个“xpose.data”的对象。
参数:varnames
A vector of strings containing labels for the variables in the scatterplot matrix.
一个向量的字符串中的变量散点图矩阵包含标签。
参数:inclZeroWRES
A logical value indicating whether rows with WRES=0 should be plotted.
一个逻辑值,该值指示是否应绘制行WRES = 0。
参数:onlyfirst
A logical value indicating whether only the first row per individual should be included in the plot.
一个逻辑值,指示是否只有第一行,每个人应包括的图。
参数:panel
The name of the panel function to use.
面板功能使用的名称。
参数:lmline
logical variable specifying whether a linear regression line should be superimposed over an xyplot. NULL ~ FALSE. (y~x)
逻辑变量指明是否应当叠加在一个xyplot的线性回归线的。 NULL~FALSE。 (y~x)
参数:smooth
A NULL value indicates that no superposed line should be added to the graph. If TRUE then a smooth of the data will be superimposed.
ANULL这个值表示没有叠加线应添加到图形中。如果TRUE然后顺利的数据将被叠加。
参数:groups
A string with the name of any grouping variable (used as the groups argument to panel.xyplot.
一个字符串与任何分组变量的名称(作为组参数来panel.xyplot。
参数:ids
A logical value indicating whether text labels should be used as plotting symbols (the variable used for these symbols indicated by the idlab xpose data variable).
一个逻辑值,文本标签是否应该被用作绘制符号,(用于这些符号的变量表示的idlab的XPOSE数据变量)。
参数:aspect
The aspect ratio of the display (see xyplot).
显示屏的纵横比(见xyplot)。
参数:by
A string or a vector of strings with the name(s) of the conditioning variables.
一个字符串或一个字符串矢量的调节变量的名称(S)。
参数:force.by.factor
Logical value. If TRUE, and by is not NULL, the variable specified by by is taken as categorical.
逻辑值。如果是TRUE,和by非NULL,by指定的变量作为分类。
参数:include.cat.vars
Logical value.
逻辑值。
参数:ordby
A string with the name of a variable to be used to reorder any factor conditioning variables (by). The variable is used in a call to the reorder.factor function.
一个字符串,其中可用于任何因素的调节变量(by)重新排序的变量的名称。变量用于在调用reorder.factor功能。
参数:byordfun
The name of the function to be used when reordering a factor conditioning variable (see argument ordby)
要使用的功能的名称时重新排序的一个因素调节变量(参见参数ordby)
参数:shingnum
The number of shingles ("parts") a continuous conditioning variable should be divided into.
带状疱疹(“份”)连续调节变量应分为。
参数:shingol
The amount of overlap between adjacent shingles (see argument shingnum)
相邻带状疱疹之间的重叠量(见参数shingnum)
参数:strip
The name of the function to be used as the strip argument to the xyplot.
要使用的函数名称作为带状参数xyplot。
参数:main
A string giving the plot title or NULL if none.
图标题或NULL,如果没有一个字符串,给出。
参数:xlb
A string giving the label for the x-axis. NULL if none.
一个字符串,给人的x-轴的标签。 NULL,如果没有。
参数:ylb
A string giving the label for the y-axis. NULL if none.
一个字符串,给出y轴的标签。 NULL,如果没有。
参数:subset
A string giving the subset expression to be applied to the data before plotting. See xsubset.
被应用到的数据,然后绘制一个字符串,给出的子集表达。见xsubset。
参数:scales
A list to be used for the scales argument in xyplot.
用于scalesxyplot参数列表。
参数:mirror
Should we create mirror plots from simulation data? Value can be FALSE, TRUE or 1 for one mirror plot, or 3 for three mirror plots.
我们应该建立镜像图,从仿真数据?值可以是FALSE,TRUE或1的一面镜子图的,或3为三镜图。
参数:max.plots.per.page
The maximum number of plots per page that can be created with the mirror plots.
可以创建的镜像图图每页的最大数量。
参数:mirror.aspect
The aspect ratio of the plots used for mirror functionality.
用于镜像功能的图的纵横比。
参数:samp
An integer between 1 and object@Nsim (seexpose.data-class) specifying which of the simulated data sets to extract from SData.
1和对象NSIM(见xpose.data-class)指定的模拟数据集提取SDATA之间的整数。
参数:pass.plot.list
Should we pass the list of plots created with mirror or should we print them directly. Values can be TRUE/FALSE.
我们应该通过建立的镜子,还是应该直接打印出来的图列表。值可以是TRUE/FALSE。
参数:x.cex
The size of the x-axis label.
的x-轴的标签的大小。
参数:y.cex
The size of the y-axis label.
y轴的标签的大小。
参数:main.cex
The size of the title.
标题的大小。
参数:mirror.internal
an internal mirror argument used in create.mirror. Checks if the strip argument from qqmath has been used.
内视镜使用的参数create.mirror。检查如果stripqqmath参数已使用。
参数:...
Other arguments passed to xpose.panel.default.
其他参数传递给xpose.panel.default。
Details
详细信息----------Details----------
If ids is TRUE, text labels are added to the plotting symbols. The labels are taken from the idlab xpose data variable. The way the text labels are plotted is governed by the idsmode argument (passed down to the panel function). idsmode=NULL (the default) means that only extreme data points are labelled while a non-NULL value adds labels to all data points (the default in Xpose 3). xpose.panel.default identifies extreme data points by fitting a loess smooth (y~x) and looking at the residuals from that fit. Points that are associated with the highest/lowest residuals are labelled. "High" and "low" are judged by the panel function parameter idsext, which gives the fraction of the total number of data points that are to be judged extreme in the "up" and "down" direction. The default value for idsext is 0.05 (see link[xpose4data]{xpose.prefs-class}). There is also a possibility to label only the high or low extreme points. This is done through the idsdir argument to xpose.panel.default. A value of "both" (the default) means that both high and low extreme points are labelled while "up" and "down" labels the high and low extreme points respectively.
如果ids是TRUE,添加文本标签的绘图符号。从idlab的XPOSE数据变量的标签。绘制文本标签的方式是由idsmode参数(通过面板功能)。 idsmode=NULL(预设值)表示,只有极端的数据点的标记,而一个非NULL值的所有数据点(默认情况下,在XPOSE 3)添加标签。 xpose.panel.default的极端数据点进行拟合的黄土光滑(y~x)的残差,适合。与最高/最低的残差相关的点,这些被标记。 “高”和“低”的判断面板功能参数idsext,给出的分数总数的数据点,要判断极端的“向上”和“向下”的方向发展。 idsext的默认值是0.05(见link[xpose4data]{xpose.prefs-class}“)。还设有一个可能性标记仅在高或低的极值点。这是通过idsdirxpose.panel.default参数。 “既”(默认值)值,高,低两种极端点时,被标记为“向上”和“向下”标签的高和低的极值点。
More graphical parameters may be passed to xpose.panel.splom. for example, if you want to adjust the size of the varnames and axis tick labels you can use the parameters varname.cex=0.5 and axis.text.cex=0.5.
更多的图形参数可以传递给xpose.panel.splom。例如,如果你想调整大小的varnames和axis tick labels,“你可以使用参数varname.cex=0.5和axis.text.cex=0.5。
值----------Value----------
Returns a scatterplot matrix graph object.
返回一个散点图矩阵图形对象。
(作者)----------Author(s)----------
E. Niclas Jonsson, Mats Karlsson, Andrew Hooker & Justin Wilkins
参见----------See Also----------
xpose.panel.splom, splom, panel.splom, xpose.prefs-class, xpose.data-class
xpose.panel.splom,splom,panel.splom,xpose.prefs-class,xpose.data-class
实例----------Examples----------
## Not run: [#不运行:]
## xpdb5 is an Xpose data object[#xpdb5是一个XPOSE的数据对象]
## We expect to find the required NONMEM run and table files for run[#我们希望找到所需的NONMEM运行和表文件运行的]
## 5 in the current working directory[排名第5的当前工作目录]
xpdb5 <- xpose.data(5)
## CL, WT, HT, SEX with a regression line[#CL,WT,HT,性别与回归线]
xpose.plot.splom(c("CL", "WT", "HT", "SEX"), xpdb5, lmline = TRUE)
## End(Not run)[#(不执行)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|