View source: R/repgrid-elements.r
getElementNames2 | R Documentation |
Retrieves the element names from a repgrid
.
getElementNames2(x, trim = 20, index = F, pre = "(", post = ") ")
x |
|
trim |
Number of characters to trim the construct names to
(default |
index |
Logical. Whether to add a index number before the construct
names (default |
pre |
String before index number (default |
post |
String after index number (default |
Different features like trimming, indexing and choices of separators allow to return the kind of format that is needed.
Vector with (trimmed) element names.
## Not run:
getElementNames2(bell2010)
getElementNames2(bell2010, mode = 2)
getElementNames2(bell2010, index = T)
getElementNames2(bell2010, index = T, trim = 30)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.