# NOT RUN {
## 3 example sequences
x <- list("01" = list(c("A","B"), "C"),
"02" = list("C"),
"03" = list("B", "B"))
## uses paste
s <- as(x, "sgCMatrix")
s
##
dim(s)
dimnames(s)
# }
Run the code above in your browser using DataCamp Workspace