duplicate or repeat discrete variables based on column values

How we can duplicate A dataset variables to a single intiger based on the value of a column which is discrete variable? is there a possibility on rstudio, in other words, How we can duplicate/repeat number of frequncies to a single observation in a dataset?
Thank you your support in advance

are you asking how to summarise repeated observations for a frequency count ?

I am asking the reverse one, how to make a single repeated observation for a summarised frequncey count

This might be what you are after:

Thank you so much, my problem is solved

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.