How to combine 2 datatables in R

We need to see some sample data. We know that the psych::describeBy command is outputting a list and that the rbind command is collapsing the list into a data.frame.

Going by youl earlier question How to make a grid with psych::describeBy? it appears that you have 6 data.frames in that list adultosxvinculo.

Therefore the title makes no sense.

It may well be easier to build your own table with summarized data of mean, median, sd and range of ages from rows. using the summarise command in tidyverse but we need to know what the raw data looks like.

Have a look at
FAQ: How to do a minimal reproducible example ( reprex ) for beginners.

Also, a very simple and very effective way to supply some data is to use the dput() command.


and then simply copy the output and paste it here. If you have a very large data set then a sample should be fine. To supply us with 100 rows of your data set do

dput(head(mydata , 100))

where mydata is the name of your dataframe or tibble