merge - Combine vectors and tables in R -
i encountered problem during simple merging task , i'm looking better solution. i'm creating tables series of surveys (which cannot merge). tables have same values, different dimensions. the data below. table x x <- structure(c(44l, 167l), .dim = 2l, .dimnames = structure(list( c("similar", "compete")), .names = ""), class = "table") table y y <- structure(c(69l, 213l, 154l, 4l, 29l, 32l), .dim = c(3l, 2l), .dimnames = structure(list( c("other", "compete", "similar"), c("college", "no college" )), .names = c("", "")), class = "table") table z z <- structure(c(13l, 38l, 43l, 46l, 131l, 172l, 37l, 177l, 122l, 8l, 34l, 12l, 16l, 114l, 70l, 20l, 17l, 27l), .dim = c(3l, 6l ), .dimnames = structure(list(c("other", "compete", "similar" ), c("skipped", "democrat", "independe...