Skip to contents

All functions

AddToCodebook()
Add a new variable to a codebook
CombineCodebooks()
Combine Two Codebooks with Conflict Detection
ConvertOrdinalToNumeric()
ConvertOrdinalToNumeric
CreateMCATable()
CreateMCATable
CreatePCATable()
Create PCA Table and Visualization
CreatePathwayPlot_KT()
Create Kynurenine-Tryptophan Pathway Plot
CreateProjectFolders()
Create Project Folder Structure
CreateStatisticsTable()
Create Statistics Table
CreateSummaryTable()
Create Summary Table
CreateVariableTypesTemplate()
Create a Template for Variable Types
CreateZScorePlot()
Create a Z-Score Plot with Statistical Significance
FormattedDataDictionary()
Create a formatted data dictionary table
InsertValues()
Insert Values into a String Array
MakeComparisonTable()
Make Comparison Table with Covariate Adjustment, Effect Sizes, Pairwise Contrasts, and Optional Overall Summary
MakeTable1()
Create Summary Table using gtsummary
Make_DataDictionary()
Create a data dictionary for a data frame
Merge_ByClosestTime()
Merge Two Data Frames by Closest Time
Plot2GroupStats()
Plot & Summarize Group Stats via MakeComparisonTable (BH q from p; SHAPE by p; COLOR by Category (vector or data frame); stable point size; palette via paletteer)
PlotAnovaRelationshipsMatrix()
Plot ANOVA Relationships Matrix
PlotAssociations()
Plot Associations
PlotBlandAltman()
Plot Bland-Altman Agreement Plot
PlotCatInteractionEffectsMatrix()
Plot Categorical Interaction Effects Matrix
PlotCategoricalDistributions()
Plot Categorical Distributions
PlotChiSqCovar()
Plot Chi-Square Test with Covariate
PlotContinuousDistributions()
Plot Continuous Distributions
PlotCorrelationsHeatmap()
Plot Correlations Heatmap
PlotDirectionalHeatmaps()
Create directional heatmaps across continuous & binary variables
PlotInteractionEffectsContinuous()
PlotInteractionEffectsContinuous
PlotMiningMatrix()
PlotMiningMatrix
PlotMissingData()
Plot Missing Data
PlotNumInteractionEffectsMatrix()
Plot Numerical Interaction Effects Matrix
PlotPValueComparisons()
Plot P-Value Comparisons
PlotPartialRegressionScatter()
Partial Regression Plot
PlotPhiHeatmap()
Plot Phi Correlations Between Binary Variables
PlotPointCorrelationsHeatmap()
Plot Point-Biserial Correlations Between Binary and Continuous Variables
PlotSplitViolin()
Split violin with aligned half-boxplots and a centered significance label
PlotTimeDistribution()
Plot Time Distribution
ReValueFactors()
Revalue Factors
ReplaceMissingCode()
Replace Missing Codes with NA
ReplaceMissingLabels()
Replace Missing Labels in Dataframe Columns
RevalueData()
Revalue Data
SampleData
SampleData for practicing SciDataReportR functions
SampleVariableTypes
Example Dataset: SampleVariableTypes
UnivariateRegressionTable()
Univariate Regression Table
UpdateCodebook()
Update an existing codebook based on a given dataframe
UpdateDataDictionary()
Update an existing data dictionary with new variables and types
add_r_and_stars()
Add r-values and significance stars to a correlations heatmap (pass res) Works with the list returned by PlotCorrelationsHeatmap().
calculate_pathway_results()
Calculate Pathway Results for Metabolite Comparisons
createBinaryMapping()
Create a Mapping Table for Binary Variables
createFacetLabels()
Create facet labels for ggplot2 based on variable labels in a data frame
geom_starcaption()
Add a Caption Explaining Star Annotations
getBinaryVars()
Identify Binary Variables
getCatVars()
Get Categorical Variables
getNumVars()
Get Numeric Variables
`%!in%`
Negated "in" Operator
plotForestFromTable()
Create a Forest Plot from Univariate Regression Tables
plotPCA()
Plot 3D PCA Scores
plotSigAssociations()
Plot Significant Associations
plotSigCorrelations()
Plot Significant Correlations
removeString()
Remove Strings from a Vector
reverseFactorLevels()
Reverse Levels of Categorical Factors
use_EDATemplate()
Use the EDATemplate Quarto Template
windsorize()
Windsorize