找回密码
 注册
查看: 564|回复: 0

R语言 RnavGraph包 navGraph()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-27 19:25:26 | 显示全部楼层 |阅读模式
navGraph(RnavGraph)
navGraph()所属R语言包:RnavGraph

                                         Start an navGraph session
                                         开始的navGraph会话

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

navGraph is an interactive data visualization program that lets the user explore high dimensional data by using graphs as a "road map". That is, navGraph connects a bullet on a graph to some user specified visualization of some data.
navGraph是交互式数据可视化程序,可以让用户探索高维数据通过使用图形作为一个“路线图”。也就是说,navGraph连接子弹在一些用户指定的一些数据的可视化图表。

The package is discussed in detail in our vignette, see vignette("RnavGraph").
包在我们的小插图中详细讨论,请参阅vignette("RnavGraph")。


用法----------Usage----------


navGraph(data, graph = NULL, viz = NULL, settings = NULL)



参数----------Arguments----------

参数:data
a single- or a list of objects generated by the ng_graph function. I.e. objects from the NG_data class.  Two special cases are:<br> - either a <VAR>navGrah handler</VAR> to reinitialize a navGraph session.<br> - or the sting tclreset to delete tk2d related settings and data.      
一个单一的或listng_graph函数所产生的对象。即对象从NG_data类。两种特殊情况:的<BR>  - 无论是<VAR> navGrah处理程序</ VAR>,重新初始化navGraph届。<BR>  - 或刺痛tclreset删除tk2d相关的设置和数据。


参数:graph
a single- or a list of objects generated by the ng_graph function. I.e. objects from the NG_data class.  
一个单一的或listng_graph函数所产生的对象。即对象从NG_data类。


参数:viz
a single- or a list of visualization instruction objects generated for example by ng_2d, ng_2d_ggobi or ng_2d_myplot function. I.e. objects from the NG_visualization class.  
单或list例如ng_2d,ng_2d_ggobi或ng_2d_myplot函数生成的对象的可视化指令。即对象从NG_visualization类。


参数:settings
a list of pailists. See details.  
列表pailists。查看详细信息。


Details

详细信息----------Details----------

The RnavGraph package comes with an extensive package vignette which we encourage to read.
RnavGraph包中附带了广泛的包小插曲,我们建议你阅读。

navGraph is capable to handle multiple graphs where each graph can be connected to multiple data displays.
navGraph是能够处理多个图形,每个图形可以连接到多个数据显示。

navGraph needs to know the data to be explored, the graph whose node represent some low dimensional visualization of the data and some visualization instructions which connect the graph and data. Data, graph and visualization instruction have their own wrapper class provided by the RnavGraph package. See ng_data, ng_graph and for the visualization instructions ng_2d ng_2d_ggobi.
navGraph需要知道数据以探讨,该图表的节点代表一些低维可视化的数据和一些连接的曲线图和数据的可视化指示。数据,图形和可视化指令都有自己的包装类提供RnavGraph包。见ng_data,ng_graph和ng_2dng_2d_ggobi的可视化指令。

There are several shortcuts to start a navGraph session. All of them assume that the nodes of the graphs represent 2d scatterplots and the edges 3d rigid rotation or a 4d transition of one scatterplot into another. The easiest of them is to only pass by a data object created with the ng_data function. For the other ways consult the vignette.
有几个快捷方式启动一个navGraph会话。所有这些假设的曲线图的节点表示2d的散点图,并且边缘三维刚性旋转或4d过渡到另一个的一个散点图。其中最简单的是只通过一个数据对象的创建与ng_data功能。对于其他方式咨询的小插曲。

The settings argument modifies the default appearance and interaction properties of the navGraph user interface. It must be a list of named (names are: color, interaction, display and tk2d) lists containing tag=value pairs. To get the possible tag=value options, study the class definitions of the ColorSettings, InteractionSettings, DisplaySettings and Tk2dDisplay classes with the getClassDef function. See the examples section below for an example.
settings参数修改默认的navGraph用户界面的外观和交互性能。它必须是一个命名的列表(名称:颜色,互动,显示和tk2d)列出了包含tag=value对。要获得可能tag=value选项,学习的类的定义ColorSettings,InteractionSettings,DisplaySettings和Tk2dDisplay类getClassDef功能。请参阅下面的示例部分的一个例子。


值----------Value----------

A navGraph handler which can be used to interface the navGraph session via the R prompt. Use ng_get-methods to get data from the function.
一个的navGraph处理器,它可以用于连接navGraph会议通过R提示。使用ng_get-methods获取数据的功能。

Use ng_update to update the navGraph handler with the current state of its associated navGraph session. If you have changed some attributes such as color or size in the tk2d- or ggobi display, you can get the new grouping with ng_get(ng_get(nav,"data"),"group") back, where <VAR>nav</VAR> is the
使用ng_update更新navGraph的处理程序及其相关的navGraph会话的当前状态。如果你已经改变了一些属性,如颜色或大小在tk2d或ggobi显示,你可以得到新的分组ng_get(ng_get(nav,"data"),"group")回来了,<VAR>资产净值</ VAR>是


(作者)----------Author(s)----------



Adrian Waddell and R. Wayne Oldford




参见----------See Also----------

ng_data, ng_graph, ng_2d, ng_2d_myplot, ng_2d_ggobi, scagNav, ng_get-methods, ng_set-methods, ng_update, ng_walk, ng_set_color<-, ng_get_color,  ng_set_size<-, ng_get_size
ng_data,ng_graph,ng_2d,ng_2d_myplot,ng_2d_ggobi,scagNav,ng_get-methods,ng_set-methods,<所述>,ng_update,ng_walk,ng_set_color<-,ng_get_color,ng_set_size<-


实例----------Examples----------


## Define a NG_data object[#定义一个NG_data的对象]
ng.iris <- ng_data(name = "iris", data = iris[,1:4],
                shortnames = c('s.L', 's.W', 'p.L', 'p.W'),
                group = iris$Species,
                labels = substr(iris$Species,1,2))

## Start navGraph[#启动navGraph]
nav1 <- navGraph(ng.iris)

## navGraph session, data linked to previous session[#navGraph会议,与上届会议的数据]
nav2 <- navGraph(ng.iris, settings =
   list(color=list(background="steelblue",bullet="blue"),
   interaction=list(NSteps=11)))

## navGraph session, data is not linked[#navGraph会议,数据不挂]
nav3 <- navGraph(ng.iris, settings=list(tk2d=list(linked=FALSE))




转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2024-11-24 16:54 , Processed in 0.029881 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表