analyze function

Generate rows analyzing variables across columns