Skip to content
Prev 361921 / 398506 Next

[FORGED] Re: Generate list if sequence form two vector element

On 22/06/16 20:00, Jim Lemon wrote:
Not sure that this is more "elegant" but it's a one-liner:

  lapply(1:length(a),function(i,a,b){a[i]:b[i]},a=a,b=b)

cheers,

Rolf