To summarise all variables in R, you can use the summary()
function. This function provides an overview of the statistical properties of each variable in a data frame. Here's an example:
main.r210 chars10 lines
This will give you an output showing the minimum, 1st quartile, median, mean, 3rd quartile, and maximum values for each variable, as well as any missing or 'NA' values.
main.r384 chars9 lines
gistlibby LogSnag