Entering edit mode
7.9 years ago
english.server
▴
300
Hi!
I could not come with a code that can expand a sequence like seq= 'ARCS'. What would be the algorithm or (pseudo)code for the expansion in R?
Thanks in advance.
p.s.
Many useful python codes have been generously supplied, but I dont know python!
It's really easy by using python, how do you explain the functions product and seq
All this stuff is well documented, seq & itertools.
great, but both you and I made a mistake, he need the R solution