I want to define a list of vectors. The vector length is 4 and the length of list is N.
I am trying
list A=as.list(rep(c("","","",""),length=N) but I am getting output
[[1]] [1] "" [[2]] [1] "" [[3]] [1] "" But I need the output as
[[1]] [1] "" "" "" "" [[2]] [1] "" "" "" "" [[3]] [1] "" "" "" "" How could this be done?
Thanks