Statistics of Dispersion26-01-2019 0 Comment(s)
Measures of dispersion—such as range, variance, standard deviation, and coefficient of variation—can be calculated with standard functions in the native stats package. In addition, a function, here called summary.list, can be defined to output whichever statistics are of interest.
Data = read.table(textConnection(Input),header=TRUE)
range(Data$ Fish, na.rm=TRUE)
 12 102 # Min and max
max(Data$ Fish, na.rm=TRUE) - min(Data$ Fish, na.rm=TRUE)
No Comments to Show