Description Usage Arguments Value Author(s) See Also Examples
Shortnames are useful to reduce the node names of navigation graphs. The node names of navigation graphs are either linked with the names or the shortnames of the NG_data object.
1 | shortnames(x)
|
x |
NG_data object. |
Vector of strings.
Adrian Waddell and Wayne Oldford
1 2 3 4 5 6 7 8 9 10 11 | ## Define a NG_data object
ng.iris <- ng_data(name = "iris", data = iris[,1:4])
## Display shortnames
shortnames(ng.iris) ## no shortnames defined yet
## Modify the shortnames
shortnames(ng.iris) <- c("sL","sW","pL","pW")
## Display updated shortnames
shortnames(ng.iris) ## no shortnames defined yet
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.