Tabulates observed values and calculates entropy
summary.factor.RdThis adapts code from R base summary.factor. It adds the calculation of entropy as a measure of diversity.
Usage
# S3 method for class 'factor'
summary(y)Author
Paul E. Johnson pauljohn@ku.edu