Hi! i'm trying to combine 2 datatables
library(psych)
library(DT)
> adultosxcond <- psych::describeBy(mayores$EDAD, mayores$JPC_VI_COND, skew=FALSE)
> adultosxcond2 <-do.call("rbind",adultosxcond)
> datatable(adultosxcond2,caption = htmltools::tags$caption(
> style = 'caption-side: top; text-align: center; color:black; font-size:200% ;','Edades de adultos por condicion D/I'))
> adultosxvinculo<-psych::describeBy(mayores$EDAD, mayores$JPG_VG_VINCULO, skew=FALSE)
> adultosxvinculo2 <-do.call("rbind",adultosxvinculo)
> datatable(adultosxvinculo2,caption = htmltools::tags$caption(
> style = 'caption-side: top; text-align: center; color:black; font-size:200% ;','Edades de adultos por vinculo'))
What i want is a datatable that shows me the descriptive statistics for group1(D and I), group2(D and I), group3(D and I) and group4(D and I).