rxsTree_get_entityIds.Rd
This is a wrapper for the data.tree
method $Get
to get the names of
all nodes in the tree object or project.
rxsProject_get_entityIds(x, includeClusteredEntities = TRUE)
rxsTree_get_entityIds(x, includeClusteredEntities = TRUE)
The rxs tree object or project object.
Whether to also include clustered
entities (entities in a list()
value).
A vector with entity names.
### Load an example Rxs project
data("example_rxsProject_1", package="metabefor");
metabefor::rxsProject_get_entityIds(
example_rxsProject_1
);
#> [1] "general" "publicationYear" "sourceAuthors"
#> [4] "sourceTitle" "modeInfo" "methods"
#> [7] "sample" "sampleSize" "samplingStrategy"
#> [10] "method" "variables" "chalk"
#> [13] "witches" "crayons" "instruments"
#> [16] "associations" "chalk_and_witches" "criminals"
#> [19] "cops" "criminals_and_cops" NA
#> [22] "variableIdentifier" "measurementLevel" "associationIdentifier"
#> [25] "varId1" "varId2" "r"
#> [28] "t"