list merge operation
merged.list <- merge(mylist, listSimple) is not working
error:Error in print(merged.list) : object 'merged.list' not found
R Lists-and-its-Operations 06-07 min 0-10 sec
Answers:
In the tutorial, the following command for merging lists has been used:
merged.list <- c(myList, listSimple)
Please try this one.
mergedlist <- list(mylist, listSimple) can also be used
try this
l1 = c("one","two","three")
merged.list = c(mylist, l1)
print(merged.list)
or
l1=c("one","two","three")
mylist = list(captaincy, matrixA, myvector, l1)