Skip to contents

All functions

AddToCodebook()
Add a new variable to a codebook
ConvertOrdinalToNumeric()
ConvertOrdinalToNumeric
CreateMCATable()
CreateMCATable
CreatePCATable()
Create PCA Table and Visualization
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
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 and Summarize Group Statistics
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()
This function creates directional heatmaps for the associations between continuous and binary variables. It identifies continuous and binary variables in the dataset and computes correlations using appropriate methods.
PlotInteractionEffectsContinuous()
PlotInteractionEffectsContinuous
PlotMiningMatrix()
PlotMiningMatrix
PlotMissingData()
Plot Missing Data
PlotNumInteractionEffectsMatrix()
Plot Numerical Interaction Effects Matrix
PlotPValueComparisons()
Plot P-Value Comparisons
PlotPhiHeatmap()
Plot Phi Heatmap
PlotPointCorrelationsHeatmap()
Plot Point-Biserial Correlations Between Binary and Continuous Variables
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
UpdateDataDictionary()
Update an existing data dictionary with new variables and types
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
windsorize()
Windsorize