# sample list
score_list <- list(item1=c(0:3), item2=c(0:2), item3=c(0:5), item3=c(0:4))
# examples
# 1) create a rbind with the sample score list
bind.fill(score_list, type="rbind")
# 2) create a cbind with the sample score list
bind.fill(score_list, type="cbind")
# 3) create a cbind with the sample score list,
# and fill missing data with 0s.
bind.fill(score_list, type="cbind", fill = 0L)
Run the code above in your browser using DataLab