Perform frequency distribution tables, associated histograms and polygons from vector, data.frame and matrix objects for numerical and categorical variables.
fdth is an R package for frequency distribution tables, associated histograms, and polygons for numerical and categorical variables.
fdt) and categorical (fdt_cat) variables.xtable.Install from CRAN:
install.packages("fdth")
Install the development version from GitHub:
# install.packages("remotes")
remotes::install_github("jcfaria/fdth")
library(fdth)
set.seed(123)
x <- rnorm(100, mean = 20, sd = 3)
ft <- fdt(x)
ft
plot(ft)
summary(ft)
# Most frequent value (mode) from grouped data
mfv(ft)
/R: Core functions and S3 methods./man: Reference documentation (.Rd files)./tests: Automated tests (testthat)./vignettes: Tutorials and longer-form documentation.Contributions are welcome. Open an issue or submit a pull request with:
To check and build locally:
R CMD check fdth
R CMD build fdth
R CMD INSTALL fdth_X.X-X.tar.gz
Developed by:
Faria, J. C.; Allaman, I. B.; Jelihovschi, E. G.
Universidade Estadual de Santa Cruz - UESC
Departamento de Ciencias Exatas - DCEX
Ilheus - Bahia - Brasil