I know how I can do all that for individual variables but I need to report this information for a large number of variables and would like to know if there is an efficient w
Well the code proposed does not work unless you transpose table with p-values.