scagNav(RnavGraph)
scagNav()所属R语言包:RnavGraph
Start a navGraph session and filter the navigation graph's node according to some scagnostic measures
开始navGraph会话过滤器的导航图的节点根据一些scagnostic措施
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Scanotstics assigns each possible scatterplot combination a weight for the attribute "Outlying", "Skewed", "Clumpy", "Sparse", "Striated", "Convex", "Skinny", "Stringy", "Monotonic".
Scanotstics分配给每一个可能的的散点图组合的权重属性“离岛”,“歪斜”,“块状”,“疏”,“条纹”,“凸”,“瘦”,“粘性” ,“单调”。
With scagNav one can start a navGraph session that constructs a navigation graph that shows certain properties most.
随着scagNav可以开始navGraph会话,构建了一个导航图,显示了一定的性能最。
See the vignette for more examples.
更多的例子,请参阅的小插曲。
用法----------Usage----------
scagNav(data,
scags = c("Clumpy", "NotClumpy", "Monotonic", "NotMonotonic",
"Convex", "NotConvex", "Stringy", "NotStringy",
"Skinny", "NotSkinny", "Outlying","NotOutlying",
"Sparse", "NotSparse", "Striated", "NotStriated",
"Skewed", "NotSkewed"),
topFrac = 0.2, combineFn = NULL,
settings = NULL, glyphs = NULL,
images = NULL, sep = ":",
layout = "circle")
参数----------Arguments----------
参数:data
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类。
参数:scags
Single element or a subset of (with possible a "Not" preceding): <br> "Outlying", "Skewed", "Clumpy", "Sparse", "Striated",<br> "Convex", "Skinny", "Stringy", "Monotonic"
单元素的一个子集(可能是“不”前):<BR>“离岛”,“歪斜”,“块状”,“疏”,“条纹”,参考“凸“,”瘦“,”粘性“,”单调“
参数:topFrac
Keep the nodes with the topFrac fraction of the scagnostic weights.
保留节点的topFrac部分的scagnostic权重。
参数:combineFn
Must be a function that takes in a vector of length scags and returns a single value. This return value comprises the new weights of the nodes get selected from.
必须是一个函数,需要在的向量长度scags,返回单个值。这个返回值,包括新的权重都被选择的节点。
参数:settings
a list of pailists. See the navGraph documentation.
列表pailists。请参阅navGraph文件。
参数:glyphs
Vector of character strings matching either the names or shortnames of the NG_data object.
向量的字符串匹配的names或shortnamesNG_data对象。
参数:images
NG_image object. Order of the images must match the order of the data in the NG_data object.
NG_image对象。订单的图像必须匹配的顺序数据在NG_data对象。
参数:sep
Node names represent a set of variables whose name are separated by the character string sep (containing no spaces).
节点的名字所代表的一组变量名之间的字符串sep(不含空格)。
参数:layout
One of the following strings: "circle", "kamadaKawaiSpring", "fruchtermanReingold" or "random".
以下字符串之一:“圆”,“kamadaKawaiSpring”,“fruchtermanReingold”或“随机”。
值----------Value----------
navGraph handler.
navGraph处理程序。
(作者)----------Author(s)----------
Adrian Waddell and R. Wayne Oldford
参见----------See Also----------
navGraph, scagEdgeWeights, scagGraph, ng_data
navGraph,scagEdgeWeights,scagGraph,ng_data
实例----------Examples----------
## Define a NG_data object[#定义一个NG_data的对象]
data(olive)
ng.olive <- ng_data(name = "Olive",
data = olive[,-c(1,2)],
shortnames = c("p1","p2","s","ol","l1","l2","a","e"),
group = as.numeric(olive$Area)+1
)
nav <- scagNav(data = ng.olive,
scags = c("Skinny", "Sparse", "NotConvex"),
topFrac = 0.2,
combineFn = max,
glyphs = shortnames(ng.olive)[1:8],
sep = ':')
nav <- scagNav(data = ng.olive,
scags = c("Skinny", "Sparse", "NotConvex"),
topFrac = 0.2,
glyphs = shortnames(ng.olive)[1:8],
sep = ':')
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|