summastat | R Documentation |
A function to calculate summary statistics of a set of data.
summastat(x, sigf, varname, plot = TRUE)
x |
A vector of numeric values. |
sigf |
The number of significant figures to report (optional). |
varname |
The name of the variable (optional), character so in quotes e.g. "Clay content". If not used then the variable is called x on plots. |
plot |
If |
A matrix containing the mean value, median value,
first and third quartiles, sample variance, sample standard deviation,
coefficient of skewness, octile skewness, coefficient of kurtosis and
the number of probable outliers in a data set. A histogram with a boxplot
over it and QQ plot of the variable x if plot=TRUE
.
Richard Murray Lark <murray.lark@nottingham.ac.uk>
x<-evapotranspiration$`ET(mm)`
summastat(x,2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.