Description Usage Arguments Value Author(s) See Also Examples
Scanotstics assigns each possible scatterplot combination a weight for the attribute "Outlying", "Skewed", "Clumpy", "Sparse", "Striated", "Convex", "Skinny", "Stringy", "Monotonic".
With scagNav
one can start a navGraph
session that
constructs a navigation graph that shows certain properties most.
See the vignette for more examples.
1 2 3 4 5 6 7 8 9 10 | 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")
|
data |
a single- or a |
scags |
Single element or a subset of (with possible a "Not" preceding): |
topFrac |
Keep the nodes with the |
combineFn |
Must be a function that takes in a vector of length |
settings |
a list of pailists. See the |
glyphs |
Vector of character strings matching either the |
images |
NG_image object. Order of the images must match the order of the data in the NG_data object. |
sep |
Node names represent a set of variables whose name are separated by
the character string |
layout |
One of the following strings: "circle", "kamadaKawaiSpring", "fruchtermanReingold" or "random". |
navGraph handler.
Adrian Waddell and R. Wayne Oldford
navGraph
, scagEdgeWeights
,
scagGraph
, ng_data
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | ## Define a NG_data object
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 = ':')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.