list merge operation
Title
Question
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:
<span style="background-color: rgb(250, 250, 250);">In the tutorial, the following command for merging lists has been used: </span>
merged.list <- c(myList, listSimple)
Please try this one.
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)
Login to add comment