Package: rwf 0.1.0

rwf: Statistical reporting and visualization for common methods

Utilities for psychological data analysis, including automated statistical reporting and visualization for common inferential and modeling workflows. Helps users run analyses faster with less repetitive code and more standardized output.

Authors:Dimitrios Zacharatos [aut, cre]

rwf_0.1.0.tar.gz
rwf_0.1.0.zip(r-4.7-any)rwf_0.1.0.zip(r-4.6-any)rwf_0.1.0.zip(r-4.5-any)
rwf_0.1.0.tgz(r-4.6-any)rwf_0.1.0.tgz(r-4.5-any)
rwf_0.1.0.tar.gz(r-4.7-any)rwf_0.1.0.tar.gz(r-4.6-any)
rwf_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
rwf/json (API)

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

Bug tracker:https://github.com/sedzinfo/rwf/issues

Pkgdown/docs site:https://sedzinfo.github.io

Uses libs:
  • openjdk– OpenJDK Java runtime, using Hotspot JIT
Datasets:

On CRAN:

Conda:

statistical-methodsstatistical-modelingstatistical-modelsstatistical-reportingstatistical-testingstatistical-testsstatisticsstatistics-toolboxopenjdk

3.08 score 1 stars 189 exports 203 dependencies

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

TargetResultTimeFilesSyslog
linux-develOK792
source / vignettesOK334
linux-releaseOK701
macos-releaseOK736
macos-oldrelOK627
windows-develOK820
windows-releaseOK725
windows-oldrelOK419
wasm-releaseOK208

Exports:c_bindcall_to_stringcdfcdffcfa_icc_indexchange_data_typecheck_heywoodclear_stopwordsclear_textcombine_filescomparison_combinationscompute_abilitycompute_adjustmentcompute_aggregatecompute_alpha_diagnosticscompute_aov_escompute_cohens_dcompute_confidence_intevalcompute_crosstablecompute_descriptivescompute_dissatenuationcompute_dummy_comparisonscompute_efa_cfacompute_frequenciescompute_friedman_testcompute_icc_thurstoniancompute_info_1plcompute_info_2plcompute_info_3plcompute_kruskal_wallis_testcompute_kurtosiscompute_mapcompute_mean_sd_alphacompute_moving_averagecompute_one_way_testcompute_posthoccompute_power_rcompute_power_r_matrixcompute_raw_alphacompute_residual_statscompute_scorescompute_se_thetacompute_shroutcompute_skewnesscompute_solvecompute_standardcompute_standard_errorcompute_text_similaritycompute_tversky_indexcompute_unidimensional_abilitycompute_unidimensional_thetacompute_wilcoxon_effect_sizecompute_y_logisticconfusionconfusion_matrix_percentconvert_excel_unix_timestampdata_frame_indexdecompose_datetimedeg2raddetach_packagedisplay_upper_lower_triangledrop_levelsdummy_arrangeenvironment_optionsexcel_confusion_matrixexcel_critical_valueexcel_generic_formatexcel_matrixextract_componentsextract_tirt_paramsfixedflatten_listgenerate_comparisons_matrixgenerate_correlation_matrixgenerate_datagenerate_factorgenerate_matrix_Agenerate_matrix_lambda_hatgenerate_missinggenerate_multiple_response_vectorgenerate_stringgenerate_unique_comparisons_indexget_fwdget_script_directoryicc_cfaincrease_indexinstall_all_packagesinstall_loadk_foldk_samplekey_to_cfa_modelmatrix_trianglemin_max_indexmodel_loadingsname_triplet_pairsoff_diagonal_indexoutlier_summaryoutput_compare_model_logisticoutput_separatorplot_acfplot_boxplotplot_cfaplot_cfa_ggplot_confusionplot_confusion_extendedplot_corrplotplot_crosstableplot_duplicate_y_axisplot_histogramplot_icc_thurstonianplot_interactionplot_irt_onefactorplot_loadingsplot_logistic_modelplot_mosaicplot_mtmmplot_multiplotplot_normality_diagnosticsplot_onewayplot_oneway_diagnosticsplot_outlierplot_qqplot_response_frequenciesplot_rocplot_scatterplotplot_screeplot_separabilityplot_trees_xgboostplot_tsproportion_accuratequestions_by_keysquestions_dimensions_dataframerad2degrank_df_to_binaryrank_to_binaryrank3_to_tripletsrbind_allrecode_scale_dummyremove_ncremove_outliersremove_user_packagesreplace_na_with_previousreport_alphareport_cfareport_choric_serialreport_correlationreport_dataframereport_efareport_factorial_anovareport_hlrreport_irtreport_ldareport_logisticreport_manovareport_normality_testsreport_onewayreport_pdfreport_regressionreport_ttestsreport_wtestsreport_xgboostresponse_dimensionresponse_frequencyresult_confusion_performanceround_dataframescore_tirtscore_tirt_patternsimulate_cfa_fitsimulate_correlation_from_samplestat_word_charstr_aesstr_countstr_mgsubstr_padstr_properstr_replacestr_replace_allstr_splitstr_split_dfstr_split_fixedstr_squishstr_substr_trim_dfstr_wrapswapsymmetric_matrixtag_posts_smoothingwrite_txt

Dependencies:abindaudiobackportsbase64encbayestestRbeeprBHbootbriobroombslibcachemcallrcarcarDatacharportclassclicliprclustercodetoolscolorspacecolourpickercommonmarkcorrplotcowplotcpp11crayondata.tabledatawizarddcurverDerivdescdiffobjdigestdoBydplyre1071effectsizeemmeansestimabilityevaluateezfarverfastmapfontawesomeforecastFormulafracdifffsfuturefuture.applygenericsggExtraggfortifyggplot2ggpubrggrepelggsciggsignifglobalsglueGPArotationgridExtragtablegtoolshighrhtmltoolshtmlwidgetshttpuvhunspelligraphinsightirrisobandISOcodesjquerylibjsonliteknitrlabelinglaterlatticelavaanleapslifecyclelistenvlme4lmtestlpSolvemagrittrMASSMatrixMatrixModelsmemoisemgcvmimeminiUIminqamirtmixlmmnormtmodelrmultcompmvtnormnlmenloptrNLPnnetnortestnumDerivopenNLPopenNLPdataopenxlsxotelparallellyparameterspbapplypbivnormpbkrtestperformancepermutepillarpkgbuildpkgconfigpkgloadplsplyrpolynompracmapraisepROCprocessxprogressrpromisesproxypspsychpurrrpwrqs2quadprogquantregR.methodsS3R.ooR.utilsR6rappdirsrbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRcppParallelRdpackreformulasreshape2rJavarlangrmarkdownRmiscrprojrootrstatixrstudioapiS7sandwichsassscalessessioninfoshinyshinyjsSimDesignsjstatsslamsourcetoolsSparseMspellingsplines2stopwordsstringistringrsurvivaltestthatTH.datatibbletidyrtidyselecttimeDatetinytextmurcautf8vctrsveganviridisLitewaldowithrxfunxgboostxml2xtableyamlzipzoo

Readme and manuals

Help Manual

Help pageTopics
Column-bind data frames or vectors of unequal lengthsc_bind
Convert a model call to a compact stringcall_to_string
Check dataframecdf
Check dataframe (optimised)cdff
index of items to convert from lavaan to thurstonian order for analysiscfa_icc_index
Convert column data types in a data framechange_data_type
Check for Heywood Cases and Related SEM Estimation Problemscheck_heywood
Remove stopwodsclear_stopwords
Clear textclear_text
Combine all files in a directory into a single filecombine_files
All pairwise column name combinationscomparison_combinations
Compute subject ability for thurstonian modelscompute_ability
Compute multiple comparison alpha adjustmentscompute_adjustment
Aggregate descriptive statistics by groupcompute_aggregate
Item-total correlations and alpha-if-item-removed diagnosticscompute_alpha_diagnostics
Effect Sizes for ANOVA Modelscompute_aov_es
Compute Cohen's D Effect Sizecompute_cohens_d
Compute confidence intervalcompute_confidence_inteval
Pairwise cross-tabulation of categorical variablescompute_crosstable
Descriptive statisticscompute_descriptives
Compute the disattenuation correction for measurement errorcompute_dissatenuation
Compute number of dummy comparisonscompute_dummy_comparisons
Exploratory and confirmatory factor analysis for each dimensioncompute_efa_cfa
Frequency table for categorical variablescompute_frequencies
Friedman Test with Effect Sizecompute_friedman_test
Compute item characteristic curves for thurstonian modelscompute_icc_thurstonian
Compute item information for 1PL modelcompute_info_1pl
Compute item information for 2PL modelcompute_info_2pl
Compute item information for 3PL modelcompute_info_3pl
Kruskal-Wallis Test with Effect Sizescompute_kruskal_wallis_test
Compute kurtosis of a numeric vectorcompute_kurtosis
Simulate prior distributioncompute_map
Mean and SD of scale scorescompute_mean_sd_alpha
Centered moving averagecompute_moving_average
One-Way ANOVA with Effect Sizes and Powercompute_one_way_test
Tukey and Games-Howell Post Hoc Testscompute_posthoc
Compute r power curvecompute_power_r
Compute correlation matrixcompute_power_r_matrix
Cronbach's alpha (raw)compute_raw_alpha
Residuals for matricescompute_residual_stats
Compute subject ability for thurstonian modelscompute_scores
Compute the SE of thetacompute_se_theta
Shrout-Fleiss reliability coefficientscompute_shrout
Compute skewness of a numeric vectorcompute_skewness
Solve Linear Systems or Invert a Matrix (Gauss-Jordan)compute_solve
Compute standard scores from a numeric vectorcompute_standard
Compute the standard error of the meancompute_standard_error
Text similarity measurescompute_text_similarity
Compute the Tversky indexcompute_tversky_index
Compute theta for unidimensional modelscompute_unidimensional_ability
Compute theta for unidimensional modelscompute_unidimensional_theta
Compute Wilcoxon Effect Sizecompute_wilcoxon_effect_size
Compute y for logistic functioncompute_y_logistic
Create a confusion matrix from observed and predicted vectorsconfusion
Confusion matrix with row and column percentconfusion_matrix_percent
Convert UNIX EXCEL timestampconvert_excel_unix_timestamp
dataframe indexdata_frame_index
Decompose datetime objects to dataframe collumnsdecompose_datetime
Convert degrees to radiansdeg2rad
Detach and unload a packagedetach_package
Admission Datadf_admission
Automotive Datadf_automotive_data
Blood Pressure Datadf_blood_pressure
Carbon Dioxide Uptake in Grass Plantsdf_co2
Crop Yield Datadf_crop_yield
Difficile Datadf_difficile
Insurance Datadf_insurance
Big Five Personality Test Datasetdf_ocean
Big Five Inventory (BFI-44) Personality Datasetdf_personality
Young People Survey Responsesdf_responses
Responses State Datadf_responses_state
Sexual Compatibility Datadf_sexual_comp
Titanic Datasetdf_titanic
Combine the upper triangle of one matrix with the lower triangle of anotherdisplay_upper_lower_triangle
Get the names of objects passed through dotsdotnames
Drop unused factor levels and collapse rare levels into "Other"drop_levels
Dummy-code a multiple response vector into a binary data framedummy_arrange
Load environment optionsenvironment_options
Write matrix or dataframe to excel sheetexcel_confusion_matrix
Write a data frame to Excel with per-column conditional formatting thresholdsexcel_critical_value
Format an Excel worksheet with styles, comments, and frozen panesexcel_generic_format
Write a matrix or data frame to an Excel worksheet with optional conditional formattingexcel_matrix
Extract and plot variance components from a mixed modelextract_components
Extract Thurstonian IRT Parameters from a lavaan-Fitted Modelextract_tirt_params
Mark a pattern as a fixed stringfixed
Flatten a two-dimensional list into a data frameflatten_list
Generate comparisons matrixgenerate_comparisons_matrix
Generate a data frame with a predetermined correlation structuregenerate_correlation_matrix
Generate a data frame of random numbersgenerate_data
Generate a data frame of random factor vectorsgenerate_factor
Generate Matrix Agenerate_matrix_A
Generate matrix lambda for specified number of comparisonsgenerate_matrix_lambda_hat
Introduce missing values into a vector or data framegenerate_missing
Generate a multiple response vectorgenerate_multiple_response_vector
Generate random stringsgenerate_string
Generate index for unique comparisonsgenerate_unique_comparisons_index
Get the file path of the currently running scriptget_fwd
Get script directoryget_script_directory
Select responses for each dimensionicc_cfa
index dataframe picksincrease_index
Install all missing CRAN packagesinstall_all_packages
Install and load multiple packagesinstall_load
K-Fold train test samplingk_fold
Train test samplingk_sample
Convert a key list to a lavaan CFA model stringkey_to_cfa_model
Keep the lower or upper triangle of a matrixmatrix_triangle
Indices of the minimum and maximum values in a vectormin_max_index
Pattern and structure matrixmodel_loadings
Create Pair Labels from Consecutive Triplets of Itemsname_triplet_pairs
Row and column indices around the diagonal of a square matrixoff_diagonal_index
Percentage of outliers at three z-score thresholdsoutlier_summary
Compare logistic regression models modelsoutput_compare_model_logistic
Print a formatted console output block with separatorsoutput_separator
Pad a data frame to a target number of rows with NAspadNA
Autocorrelation, autocovariance, and partial autocorrelation plotplot_acf
Side-by-side boxplots for all numeric columnsplot_boxplot
Batch-plot CFA across layouts and display modesplot_cfa
Plot CFA model (semPlot-free)plot_cfa_gg
Plot confusion matrixplot_confusion
Plot a confusion matrix with the full set of derived measuresplot_confusion_extended
Correlation matrix plotsplot_corrplot
Bubble plots for pairwise cross-tabulationsplot_crosstable
Duplicate the y axis on the right side of a ggplotplot_duplicate_y_axis
Invert a title grob horizontallyplot_hinvert_title_grob
Histograms per numeric columnplot_histogram
Plot thurstonian iccplot_icc_thurstonian
Plot two-way interaction graphs for all IV pair and DV combinationsplot_interaction
Return data for irt plotsplot_irt_onefactor
Plot loadingsplot_loadings
Logistic model plotplot_logistic_model
Mosaic plots for pairwise categorical variablesplot_mosaic
Multitrait-multimethod (MTMM) matrix plotplot_mtmm
Arrange multiple ggplot objects in a grid layoutplot_multiplot
Normality diagnostic plots (histogram, density, boxplot, Q-Q)plot_normality_diagnostics
Plot group means with error bars for all IV-DV combinationsplot_oneway
Diagnostic plots for one-way ANOVA modelsplot_oneway_diagnostics
Dot plot of outliers by detection methodplot_outlier
Q-Q plots against the normal distributionplot_qq
Horizontal bar charts of response frequenciesplot_response_frequencies
Plot Receiver Operating Characteristic (ROC) curveplot_roc
Scatter plots for all variable pairs in a data frameplot_scatterplot
Scree plot displaying the Kaiser and Jolife criteria for factor extractionplot_scree
Plot separabilityplot_separability
Plot trees for xgboost::xgb.trainplot_trees_xgboost
Line plot for a time seriesplot_ts
Proportion overall accuracy of a confusion matrixproportion_accurate
Convert a key vector to a list of question indices by dimensionquestions_by_keys
Build a question-to-dimension mapping tablequestions_dimensions_dataframe
Convert radians to degreesrad2deg
Convert scale to thurstonian binary with n items per block and n blocksrank_df_to_binary
Convert scale to thurstonian binary with n items per ranking blockrank_to_binary
Convert thurstonian binary triplets to scalerank3_to_triplets
Row-bind two data frames with different column setsrbind_all
Scale and dummy coderecode_scale_dummy
Replace and remove non-computable valuesremove_nc
Replace outliers with NA using IQR fencesremove_outliers
Remove all user-installed packagesremove_user_packages
Last observation carried forward (LOCF) imputationreplace_na_with_previous
Cronbach's alpha reliability report for multiple scalesreport_alpha
Reportreport_cfa
Report polychoric tetrachoric polyserial biserial correlationreport_choric_serial
Report correlation matrixreport_correlation
Write matrix or dataframe to excel sheetreport_dataframe
Output EFA modelreport_efa
Factorial, Repeated Measures and Mixed ANOVA Reportreport_factorial_anova
Report HLRreport_hlr
Output for irt modelreport_irt
Report for MASS::ldareport_lda
Report logistic regressionreport_logistic
MANOVA Reportreport_manova
Battery of normality testsreport_normality_tests
One-Way ANOVA Report for Several Variablesreport_oneway
Save or display a list of plots as a multi-page PDFreport_pdf
Regressionreport_regression
Run Pairwise t-tests and Return a Reporting Tablereport_ttests
Run Pairwise Wilcoxon Tests and Return a Reporting Tablereport_wtests
Report for xgboost::xgb.trainreport_xgboost
index parameter and items relative to their dimensionsresponse_dimension
Response frequency table for ordinal or Likert-scale variablesresponse_frequency
Plot performance of confusion matrix for different cut off pointsresult_confusion_performance
Round numeric columns in a data frameround_dataframe
Score Multiple Thurstonian IRT Response Patterns (MAP / EBM)score_tirt
Score a Single Thurstonian IRT Response Pattern (MAP / EBM)score_tirt_pattern
Simulate CFA model fit across sample sizessimulate_cfa_fit
Simulate data preserving the correlation structure of an input data framesimulate_correlation_from_sample
Text similarity measuresstat_word_char
Clean and format string aestheticsstr_aes
Count the number of pattern matches in a stringstr_count
Apply gsub for multiple patterns with a single replacementstr_mgsub
Pad a string to a minimum widthstr_pad
Convert a string to proper casestr_proper
Replace the first pattern match in a stringstr_replace
Replace all pattern matches in a stringstr_replace_all
Split a string vector into a data frame of partsstr_split
Split a string column or row names in a data frame into separate columnsstr_split_df
Split strings into a fixed-width matrix of piecesstr_split_fixed
Remove leading, trailing, and internal extra whitespacestr_squish
Extract n characters from the left or right of a stringstr_sub
Trim whitespace from all character cells in a data framestr_trim_df
Wrap long strings to a specified line widthstr_wrap
Reverse-score a numeric vectorswap
Make a matrix symmetric by mirroring one trianglesymmetric_matrix
Part of speech taggingtag_pos
Time series smoothing with multiple bandwidth levelsts_smoothing
Print an object and optionally save output to a log filewrite_txt