I have two dataframe A & B with same columns in both except primary key (in the real data I have more than 50+ column like that), Now I want to compare the 'summary' stastics (normal R summary() command) for both the dataframe but for comparison purpose I want to see it next to each other as given in the image attached.
DATAFRAME DPUT STRUCTURE
structure(list(Pkey = c(1, 2, 3, 4, 5), Phy_marks = c(43, 44, 45,
46, 47), Math_marks = c(34, 34, 45, 32, 21)), .Names = c("Pkey",
"Phy_marks", "Math_marks"), row.names = c(NA, -5L), class =
"data.frame")
structure(list(Pkey = c(11, 12, 13, 14, 15), Phy_marks = c(43, 44,
45, 46, 47), Math_marks = c(34, 34, 45, 32, 21)), .Names = c("Pkey",
"Phy_marks", "Math_marks"), row.names = c(NA, -5L), class =
"data.frame")
PLEASE HELP!!!