I tried and get the output using the following small program, but I need it in more effective way in small lines of R code. Anyone could help me.
temp=data.frame()
nds1=data.frame()
bn=data.frame()
for(i in 1:nrow(data))
{
nds=rbind(data.frame("Date"=seq(as.Date(data$Start.Date[i], "%d-%m-%Y"),
as.Date(data$End.Date[i], "%d-%m-%Y"),by="days")))
nds1=rbind(nds1, nds)
temp=rbind(temp,nrow(nds))
bn=rbind(bn,data.frame("Promo.Type"=rep(data$Promo.Type[i],temp[i,1])))
}
final=data.frame(nds1, bn)