R

R statistical programming related stuff

ggplot center title

ggplot Center Title: A Guide to Perfectly Aligned Titles in Your Plots

In this R tutorial, you will discover how to use ggplot to center the title effectively. Centering the title is crucial to creating visually appealing plots, and, e.g., enabling better communication of insights. We will explore examples from hearing science and psychology to demonstrate the significance of centering titles in ggplot2 objects.

ggplot Center Title: A Guide to Perfectly Aligned Titles in Your Plots Read More »

Extract P-Values from lm() in R: Empower Your Data Analysis

In this blog post, we will learn how to extract P-values from the regression models in R. We will explore the process of fitting a regression model, and then dive into the methods of extracting P-values using the lm() function. Additionally, we will demonstrate how to extract P-values from all predictors and use the tidy() function for a tidy output. Unlock the power of statistical inference with the ability to extract P-values from lm() in R.

Extract P-Values from lm() in R: Empower Your Data Analysis Read More »

Update R: Keeping Your RStudio Environment Up-to-Date

Keeping your software tools up-to-date is essential for a seamless and efficient workflow, and the R programming language is no exception. In this blog post, we will explore the importance of updating R, discuss the circumstances that may necessitate an update, address the possibility of updating R within RStudio, and explore different methods for upgrading

Update R: Keeping Your RStudio Environment Up-to-Date Read More »

Mastering SST & SSE in R: A Complete Guide for Analysts

Learn to calculate and interpret SSE/SSR and SST in R. Understand their significance, generate fake data, fit a linear model, and calculate SST and SSR using different methods, including ANOVA. Gain insights into evaluating model performance and enhance your statistical analysis skills. A comprehensive guide for data analysts and researchers.

Mastering SST & SSE in R: A Complete Guide for Analysts Read More »

Report Correlation in APA Style using R: Text & Tables

In this post, you will learn how to report correlation according to APA. Adhering to APA (American Psychological Association) guidelines is important wen you report your analysis and write up your results . Whether you are conducting research in psychology, cognitive hearing science, or cognitive science, APA style is often required by journals and conferences.

Report Correlation in APA Style using R: Text & Tables Read More »

wide format to long format in r

Wide to Long in R using the pivot_longer & melt functions

In this post, we will learn how to transform data from wide to long in R. Wide-to-long format conversion is often an important data manipulation technique in data analysis. In R, we can use many packages and their functions to transform data from a wide to long format. These functions include the tidyr package’s pivot_longer()

Wide to Long in R using the pivot_longer & melt functions Read More »

testing for normality in R

Test for Normality in R: Three Different Methods & Interpretation

In this blog post, you will learn how to test for the normality of residuals in R. Testing the normality of residuals is a step in data analysis. It helps determine if the residuals follow a normal distribution, which is important in many fields, including data science and psychology. Approximately normal residuals allow for powerful

Test for Normality in R: Three Different Methods & Interpretation Read More »

Scroll to Top