A function that given a vector of actor ID's returns the corresponding vector of actor (input) names.
Arguments
- x
a
remify
object.- actorID
a vector of actor ID's. The ID value can range between
1
andN
(number of actors in the network).
Examples
# processing the random network 'randomREH'
library(remify)
data(randomREH)
reh <- remify(edgelist = randomREH$edgelist,
model = "tie",
riskset = "manual",
omit_dyad = randomREH$omit_dyad)
# find actor name from actor ID
getActorName(x = reh, actorID = c(1,2,8,12))
#> [1] "Alexander" "Andrey" "Francesca" "Kiffani"