0

I have a data frame:

V1=c("A","B","C")
V2=c(2,3,5)
a<-cbind(V1, V2)

enter image description here

I would like to split every row into single rows according to number in the column V2:

enter image description here

Could You please help me?

Thank You in advance. Inna

Inna
  • 115
  • 12

0 Answers0