There are several inbuilt functions as well as packages for checking the quality of data in R. The most commonly used among them is the summary function in base R:
## Packages Used: ## psych, pastecs, dataMaid, daff # install.packages(c("psych","pastecs","dataMaid","daff")) state <- data.frame(state.x77) state$State <- row.names(state) state summary(state)
The output of the preceding code is as follows:
library(psych) describe(state)
The output of the preceding code is as follows:
You can also use describe.by to get ...