initSplot(sendplot)
initSplot()所属R语言包:sendplot
Creates A Sendplot 'Splot' Object
创建一个Sendplot“Splot”对象
译者:生物统计家园网 机器人LoveR
描述----------Description----------
The initSplot function creates a sendplot 'Splot' object. A Splot object holds all necessary elements to make a static layout of images and, through other functions, all elements to make any of
initSplot功能创建一个sendplot“Splot”对象。一个Splot对象包含所有必要的元素,使静态的图像布局,通过其他的功能,所有的元素,使任何
用法----------Usage----------
initSplot(mat,
plot.calls,
Iflag=NA,
figTypes=NA,
mai.mat=NA,
mai.prc=FALSE,
plot.extras = NA,
source.plot=NA,
image.size="800x1100",
pointsize=12,
res=NA,
ps.paper="letter",
ps.width=8,
ps.height=11,
returnVl=TRUE,
saveFlag=FALSE,
saveName="Splot.RData")
参数----------Arguments----------
参数:mat
matrix indicating layout. This argument will be passed into the graphics package layout call as mat.Each value in the matrix must be '0' or a positive integer. If N is the largest positive integer in the matrix, then the integers 1,...,N-1 must also appear at least once in the matrix. '0' indicates region of no plotting
矩阵指示布局。此参数将被传递到图形调用封装布局矩阵中的mat.Each值必须为0或正整数。如果N是在基体中的最大的正整数,则整数1,...,N-1,也必须至少一次出现在矩阵中。 0表示没有绘制区域
参数:plot.calls
character vector containing plot calls
字符向量的图需要
参数:Iflag
Logical vector indicating if the plot in the layout is interactive
逻辑向量表示,如果是互动的图布局
参数:figTypes
Character vector indicating the type of plot. Currently this argument is not needed, but will be useful for extensions that will be made in future versions.
字符向量表示的类型图。目前,这种说法是没有必要的,但将在未来的版本中的扩展将是有益的。
参数:mai.mat
n x 4 matrix of values to be passed in for each plots par mai. n is equal to the length of plot.calls. If NA, uses default margins
NX 4矩阵的值来传递为每个图面值迈。 n是等于plot.calls的长度。如果不适用,使用默认页边距
参数:mai.prc
logical indicating if mai mat values are percentages or hard coded values. If mai.proc is T, indicates percentage.
逻辑说明,如果迈垫值的百分比或硬编码值。如果mai.proc是T,表示百分比。
参数:plot.extras
List of length equal to the number of plot.calls. This object is a list of lists. The sublists contain any additional plotting calls that should be executed for the plot. Each entry must be a character vector. If no additional plotting is required, an NA should be used
长度相等的数目plot.calls名单。这个对象是一个列表的列表。子表包含的图,应执行任何额外的绘图调用。每个条目必须是一个字符向量。如果没有附加的绘图是必需的,应该使用的NA
参数:source.plot
Indicates what image output the application should produce postscript, tiff, png, or jpeg. It can be a character vector of any combination of ps, png, jpeg, or tiff. If NA, the default will make a png file
表示,应用程序应该产生什么样的形象输出的PostScript,TIFF,PNG或JPEG。它可以是一个字符的任意组合,PS,PNG,JPEG或TIFF向量。如果不适用,默认情况下将一个png文件
参数:image.size
character indicating resize value of image,'width'x'height'
字符显示调整大小的图像,“widthxheight”
参数:pointsize
pointsize of image. passed into device call
的pointsize图像。传递到设备调用
参数:res
resolution of image, passed into device call if png or jpeg
图像分辨率,通过设备调用,如果PNG或JPEG
参数:ps.paper
postscript paper argument if postscript is created
PostScript的纸张参数,如果PostScript是
参数:ps.width
postscript width argument if postscript is created
如果后记的后记宽度参数创建
参数:ps.height
postscript height argument if postscript is created
如果后记的后记高度参数创建
参数:returnVl
Should Splot object be returned
如果Splot对象返回
参数:saveFlag
Should Splot object be saved
如果Splot对象被保存
参数:saveName
If saveFlag, path file name to save object
,如果saveFlag,路径文件名保存对象
Details
详细信息----------Details----------
This functio initializes a Splot object. This object stores information for constructing a layout of figures, as well as making any of thos figures interactive in a html webpage utilizing java tool-tip.
这函数的初始化Splot的对象。此对象存储信息,构建一个布局的数字,以及在一个HTML网页,使用Java工具提示的公益数字互动。
Users are encouraged to read the package vignette which includes a detailed discussion of all function arguments as well as several useful examples.
我们鼓励用户阅读的的包小插曲,其中包括详细讨论了函数的所有参数以及一些有用的例子。
值----------Value----------
If returnVl, an object of the class 'Splot'
,如果returnVl,类的一个目的Splot
注意----------Note----------
This function only sets up an SPlot object. It does not make the interactive figure.
此功能只设置了一个SPlot对象。它不会使互动式的人物。
(作者)----------Author(s)----------
Lori A. Shepherd, Dan P. Gaile
参考文献----------References----------
参见----------See Also----------
sendplot, makeImap,
sendplot,makeImap,
实例----------Examples----------
# Please see vignette or makeSplot for example[例如,请参阅小插曲或makeSplot的]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|