Convert a list resulting from the summaries performed in a
summaryFunction into a summaryResult object, thereby
supplying it with a print() method.
summaryResult(ls)
| ls | A list with entries |
|---|
A S3 object of class summaryResult, identical to the inputted
list, ls, except for its class attribute.