Reshaping grouped data via dcast to 'wide' format with
rows for each unique combination of group variables. The response are arranged in
separate columns for each datum in predictors. If a combination of groups identifies
multiple rows, the number of rows in a group is returned to CS for the whole dataset
instead of the response variable value.