Skip to content
Back to formatted view

Raw Message

Message-ID: <1890354796.7443289.1466580756297.JavaMail.yahoo@mail.yahoo.com>
Date: 2016-06-22T07:32:36Z
From: Mohammad Tanvir Ahamed
Subject: Generate list if sequence form two vector element

Hi,
I want to do the follow thing 

Input : 
a <- c(1,3,6,9) 


b<-c(10,7,20,2) 


Expected outcome : 

d<-list(1:10,3:7,6:20,2:9) 



Thanks !!


 
Tanvir Ahamed 
G?teborg, Sweden  |  mashranga at yahoo.com