Hi,
I have a probably simple problem but I can't solve it alone.
I have a list of numbers let's assume it is
nb <- c(2,5,3)
I want to create a list of concatenated zeros using the first list. The output should be
nb_zeros = c(00, 00000, 000)
I assume I have to use lapply() et rep() but they don't want to accept lists ...
If somebody have a great idea, I dont want to put some loop in that.
Thank you in advance,
Marouane