Combine non NA values for n Lists R
问题 A - I have a list containing igraph graph objects: goodgg [[1]] IGRAPH UN-- 3 3 -- + attr: name (v/c), color (v/c), value (e/n), sourceID (e/n), targetID (e/n) + edges (vertex names): [1] 89315--89316 89315--89928 89316--89928 [[2]] IGRAPH UN-- 3 2 -- + attr: name (v/c), color (v/c), value (e/n), sourceID (e/n), targetID (e/n) + edges (vertex names): [1] 106277--106278 106278--106279 I can combine these into a single object using [union][1] : combine = graph.union(goodgg[[1]], goodgg[[2]],