Package: rfriend 3.1.0

rfriend: Provides Batch Functions and Visualisation for Basic Statistical Procedures

Designed to streamline data analysis and statistical testing, reducing the length of R scripts while generating well-formatted outputs in 'pdf', 'Microsoft Word', and 'Microsoft Excel' formats. In essence, the package contains functions which are sophisticated wrappers around existing R functions that are called by using 'f_' (user f_riendly) prefix followed by the normal function name. This third version of the 'rfriend' package focuses primarily on data exploration, including tools for creating summary tables, f_summary(), summary figures, f_scan(), outlier detection and removal, f_outlier() and f_remove_outliers(), performing data transformations, f_boxcox() in part based on 'MASS/boxcox' and 'rcompanion', and f_bestNormalize() which wraps and extends functionality from the 'bestNormalize' package. Furthermore, 'rfriend' can automatically (or on request) generate visualizations such as boxplots, f_boxplot(), QQ-plots, f_qqnorm(), histograms f_hist(), and density plots f_density(). Additionally, the package includes several statistical test functions: f_aov(), f_chisq_test(), f_corplot(), f_kruskal_test(), f_lmer(), f_glm(), f_t_test(), f_wilcox_test(), for sequential testing and visualisation of the similar named 'stats' functions. These functions, except for f_chisq_test(), support testing multiple response variables and predictors, while also handling assumption checks, data transformations, and post hoc tests. Post hoc results are automatically summarized in a table using the compact letter display (cld) format for easy interpretation. The package also provides a function to do model comparison, f_model_comparison(), and several utility functions to simplify common R tasks. For example, f_clear() clears the workspace and restarts R with a single command; f_setwd() sets the working directory to match the directory of the current script; f_theme() quickly changes 'RStudio' themes; and f_factors() converts multiple columns of a data frame to factors, and much more. If you encounter any issues or have feature requests, please feel free to contact me via email.

Authors:Sander H. van Delden [aut, cre]

rfriend_3.1.0.tar.gz
rfriend_3.1.0.zip(r-4.7)rfriend_3.1.0.zip(r-4.6)rfriend_3.1.0.zip(r-4.5)
rfriend_3.1.0.tgz(r-4.6-any)rfriend_3.1.0.tgz(r-4.5-any)
rfriend_3.1.0.tar.gz(r-4.7-any)rfriend_3.1.0.tar.gz(r-4.6-any)
rfriend_3.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
rfriend/json (API)
NEWS

# Install 'rfriend' in R:
install.packages('rfriend', repos = c('https://delde001.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/delde001/rfriend/issues

On CRAN:

Conda:

3.48 score 460 downloads 32 exports 174 dependencies

Last updated from:9de1aabb26. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK397
source / vignettesOK249
linux-release-x86_64OK405
macos-release-arm64OK285
macos-oldrel-arm64OK314
windows-develOK381
windows-releaseOK339
windows-oldrelOK393
wasm-releaseOK174

Exports:df_to_tablef_aovf_bestNormalizef_boxcoxf_boxplotf_boxplot_workerf_chisq_testf_clearf_conditional_roundf_corplotf_factorsf_glmf_histf_kruskal_testf_lmerf_load_packagesf_longf_model_comparef_open_filef_outliersf_panderf_qqnormf_remove_outliersf_rename_columnsf_rename_vectorf_scanf_setwdf_stat_wizardf_summaryf_t_testf_themef_wilcox_test

Dependencies:abindapeaskpassbackportsbase64encbestNormalizebootbroombslibbutchercachemcarcarDataclasscliclockcodetoolscolorspacecommonmarkcorrplotcowplotcpp11crayoncrosstalkcurldata.tableDerivDHARMadiagramdigestdoBydoParalleldoRNGdplyremmeansestimabilityevaluatefarverfastmapfontawesomeforeachforecastFormulafracdifffsfuturefuture.applygapgap.datasetsgenericsggplot2globalsgluegowergridExtragtablehardhathighrhmshtmltoolshtmlwidgetshttpuvhttrinsightipredisobanditeratorsjquerylibjsonliteKernSmoothknitrlabelingLambertWlamWlaterlatticelavalazyevallifecyclelistenvlme4lmerTestlmtestlobstrlubridatemagickmagrittrMASSMatrixMatrixModelsmemoisemgcvmicrobenchmarkmimeminqamodelrmultcompmultcompViewMuMInmvtnormnlmenloptrnnetnortestnumDerivopensslotelpanderparallellypbkrtestpillarpkgconfigplotlyplyrpngprettyunitsprodlimprogressprogressrpromisespurrrqgamquantregR6rappdirsrbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRcppParallelRdpackrecipesreformulasreshape2rlangrmarkdownrngtoolsrpartrstatixrstudioapiS7sandwichsassscalesshapeshinysourcetoolsSparseMsparsevctrsSQUAREMstringistringrsurvivalsysTH.datathis.pathtibbletidyrtidyselecttimechangetimeDatetinytextzdburcautf8vctrsviridisLitewithrwritexlxfunxtableyamlzoo

Readme and manuals

Help Manual

Help pageTopics
Convert a data frame to a contingency tabledf_to_table
Perform multiple 'aov()' functions with optional data transformation, inspection and Post Hoc test.f_aov
f_bestNormalize: Automated Data Normalization with bestNormalizef_bestNormalize
f_boxcox: A User-Friendly Box-Cox Transformationf_boxcox
Generate a Boxplot Report of a data.framef_boxplot f_boxplot.data.frame f_boxplot.formula f_boxplot.integer f_boxplot.numeric f_boxplot_worker
Chi-squared Test with post hoc Analysisf_chisq_test
f_clear: Clear Various Aspects of the R Environmentf_clear
Conditional Rounding for Numeric Valuesf_conditional_round
Correlation Plots with Factor Detection and Multiple Correlation Coefficientsf_corplot
Convert multiple columns to Factors in a data framef_factors
Perform multiple 'glm()' functions with diagnostics, assumption checking, and post hoc analysisf_glm
Plot a Histogram with an Overlaid Normal Curvef_hist
Perform multiple Kruskal-Wallis tests with a user-friendly output file, do data inspection and Dunn's test (of 'rstatix') as post hoc.f_kruskal_test
Fit a linear mixed model with 'lme4::lmer()' including assumption checks, diagnostics, R-squared and post hoc tests.f_lmer
Install and Load Multiple R Packagesf_load_packages
Transform 'Wide' (Excel) data to 'Long' (R) formatf_long
Compare Two Statistical Modelsf_model_compare
Open a File with the Default Applicationf_open_file
Identify Outliers within Groups using Tukey's Fencesf_outliers f_outliers.data.frame f_outliers.formula f_outliers.integer f_outliers.numeric
Fancy Pander Table Outputf_pander
Normal Q-Q Plot with Confidence Bandsf_qqnorm
Remove Outliers from Dataf_remove_outliers
Rename Specific Columns in a Data Framef_rename_columns
Rename Elements of a Vector Based on a Mappingf_rename_vector
Perform a visual check on your dataf_scan f_scan.data.frame f_scan.formula f_scan.integer f_scan.numeric
Set Working Directory Based on Current File or Specified Pathf_setwd
Statistical Test Wizardf_stat_wizard f_stat_wizard.data.frame f_stat_wizard.formula
Summarize a Data Frame with Grouping Variablesf_summary f_summary.data.frame f_summary.formula
Perform multiple t-tests with optional data transformation, inspection and visualization.f_t_test f_t_test.default f_t_test.formula
Apply a black or white 'RStudio' Theme and Zoom Levelf_theme
Perform multiple Wilcoxon rank sum and signed rank tests with inspection and visualization.f_wilcox_test f_wilcox_test.default f_wilcox_test.formula
Plot an f_bestNormalize objectplot.f_bestNormalize
Plot an f_boxcox objectplot.f_boxcox
Plot method for f_kruskal_test objectsplot.f_kruskal_test
Plot method for f_lmer objectsplot.f_lmer
Plot method for f_long objectsplot.f_long
Predict method for f_boxcox objectspredict.f_boxcox
Print method for f_outliers objectsprint.f_outliers
Print method for f_scan objectsplot.f_scan print.f_scan summary.f_scan
Print method for f_stat_wizardprint.f_stat_wizard
Print method for f_summary objectsprint.f_summary
Summary method for f_long objectssummary.f_long