I am trying to create levels of elements that can be paired or independent variables. If paired, I am trying to group them using a numeric vector as a map. I wonder if there is a method for that? Does anyone have a clue?

```
nVector = c(1,2,2)
sVector = c("apple", "strawberry", "blueberry")

```

Maybe the equivalent output of doing:

```
c("apple", paste("strawberry", "blueberry"))
[1] "apple"                "strawberry blueberry"

```

I am also open to other thoughts about it.

Thanks.!