# Example 1: Create flist from list - column type
lst1 <- list("%d%b%Y", "%.1f")
fl1 <- as.flist(lst1, type = "column")
# Example 2: Create flist from list - row type
lst2 <- list(lkup = c(A = "Label A", B = "Label B"),
dec1 = "%.1f",
dt1 = "%d%b%Y")
fl2 <- as.flist(lst2, type = "row")
Run the code above in your browser using DataLab