Fill names for a vector of strings with the vector's values

Fill names for a vector of strings with the vector's values

fill_names(nm)

Arguments

nm

Vector of strings with possibly incomplete names

Value

Named vector of strings

Author

Daniel Lill (daniel.lill@intiquan.com)

Examples

if (FALSE) { # \dontrun{
nm <- c("a", "e" = "a", "d" = "b", "b" ="d")
IQRtools:::fill_names(nm)
} # }