Learn R Programming

corrtable (version 0.1.1)

Creates and Saves Out a Correlation Table with Significance Levels Indicated

Description

After using this, a publication-ready correlation table with p-values indicated will be created. The input can be a full data frame; any string and Boolean terms will be dropped as part of functionality. Correlations and p-values are calculated using the 'Hmisc' framework. Output of the correlation_matrix() function is a table of strings; this gets saved out to a '.csv2' with the save_correlation_matrix() function for easy insertion into a paper. For more details about the process, consult .

Copy Link

Version

Install

install.packages('corrtable')

Monthly Downloads

298

Version

0.1.1

License

GPL-3

Maintainer

Laura Lambert

Last Published

November 2nd, 2023

Functions in corrtable (0.1.1)

correlation_matrix

Creates a publication-ready / formatted correlation matrix, using Hmisc::rcorr in the backend.
save_correlation_matrix

Creates and save to file a fully formatted correlation matrix, using correlation_matrix and Hmisc::rcorr in the backend