added an example with simulated data to show iNZightSummary for factor and glm; cleaned up code in summary.R