Get Summary of Results produced by Functions in R Programming – summary() Function
summary() function in R Language is a generic function used to produce result summaries of the results of various model fitting functions.
Syntax: summary(object, maxsum)
object: R object
maxsum: integer value which indicates how many levels should be shown for factors
Length Class Mode 4 character character Min. 1st Qu. Median Mean 3rd Qu. Max. 1.00 1.75 2.50 2.50 3.25 4.00
 South West West South West  West Northeast South South South  West West North Central North Central North Central  North Central South South Northeast South  Northeast North Central North Central South North Central  West North Central West Northeast Northeast  West Northeast South North Central North Central  South West Northeast Northeast South  North Central South South West Northeast  South West South North Central West Levels: Northeast South North Central West Northeast South North Central West 9 16 12 13 South West (Other) 16 13 21