View source: R/repgrid-constructs.r
getConstructNames2 | R Documentation |
Retrieves the construct names from a repgrid
.
getConstructNames2(
x,
mode = 1,
trim = 20,
index = F,
sep = " - ",
pre = "(",
post = ") "
)
x |
|
mode |
Type of output. 1= left and right pole
separated by |
trim |
Number of characters to trim the construct names to
(default |
index |
Logical. Whether to add a index number before the construct
names (default |
sep |
Separator string between poles. |
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 construct names.
## Not run:
getConstructNames2(bell2010)
getConstructNames2(bell2010, mode = 2)
getConstructNames2(bell2010, index = T)
getConstructNames2(bell2010, index = T, mode = 3)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.