R provides a wide range of statistical functions, allowing users to obtain the summary statistics of data, generate frequency and contingency tables, produce correlations, and conduct statistical inferences. This recipe covers basic statistics that can be applied to a dataset.
Ensure you have completed the previous recipes by installing R on your operating system.
Perform the following steps to apply statistics on a dataset:
> class(iris)  "data.frame"
sepal width, and
sepal length. For numeric values, you can perform ...