R and RStudio: Data Science & Biostatistics

R and RStudio: Data Science & Biostatistics

Share

Learn data science and biostatistics using R and RStudio.

Explore data management, visualization, statistical modeling, and reproducible analysis through hands-on tutorials and practical examples.

11/06/2026

Udemy is a highly popular and user-friendly learning platform. Here are three effective paid courses on R programming offered on Udemy.

Learn Data Science & Biostatistics with R and RStudio

Demographic and Health Survey Data Analysis in R and RStudio

R Programming & RStudio for Epidemiologic Data Analysis

11/06/2026

Rstudio course

11/06/2026

📢 New Course Alert!

I am excited to share my course:

**Crash Course: R Programming for Biostatistical Data Analysis**

This course is designed for students, researchers, public health professionals, and beginners who want to learn practical data analysis in RStudio for research and manuscript writing.

In this course, you will learn how to:

✅ Set up RStudio and required packages
✅ Import Excel data into R
✅ Clean and prepare variables
✅ Create factor and numeric variables
✅ Generate descriptive summary tables using `gtsummary`
✅ Perform univariate and bivariate analysis
✅ Report n (%), mean ± SD, median and IQR
✅ Conduct chi-square and t-tests
✅ Create publication-ready tables
✅ Make bar diagrams and boxplots using `ggplot2`
✅ Run simple and multiple logistic regression
✅ Interpret crude and adjusted odds ratios
✅ Estimate risk ratios using log-binomial and modified Poisson regression

This is a practical, beginner-friendly course focused on real research data analysis. It will help you build confidence in RStudio and prepare clean, manuscript-ready statistical outputs.

: R Programming for Biostatistical Data Statistical Data analysis Guru
📌 Platform: Udemy
Link in the Comment Box

11/06/2026

Export descriptive table in ms word

11/06/2026


library(haven)
library(tidyverse)

d1 %
mutate(
v025 = as_factor(v025),
v190 = as_factor(v190),
bmi = ifelse(v445 > 9000, NA, v445/100),
haz = ifelse(hw70 > 9000, NA, hw70/100),
stunting = ifelse(haz < -2, 1, 0)
) %>%
drop_na()

dat_a %>%
ggplot(aes(x = v025, y = bmi, fill = v190)) +
geom_violin(
trim = FALSE,
alpha = 0.75,
linewidth = 0.3,
color = "black"
) +
labs(
x = "Place of residence",
y = "Maternal BMI (kg/m²)",
fill = "Wealth index",
title = "Distribution of Maternal BMI among Nigerian Women"
) +
scale_fill_brewer(palette = "Set3") +
theme_classic(base_size = 12) +
theme(
plot.title = element_text(
size = 14,
face = "bold",
hjust = 0.5
),
axis.title = element_text(
size = 12,
face = "bold"
),
axis.text = element_text(
size = 11,
color = "black"
),
legend.position = "top",
legend.title = element_text(
size = 11,
face = "bold"
),
legend.text = element_text(size = 10)
)

11/06/2026

Created in R
A violin plot showing the distribution of maternal BMI among Nigerian women across place of residence and wealth index categories. This visualization helps compare BMI patterns, variability, and differences between urban and rural women.

11/06/2026

+ Maternal BMI Distribution among Nigerian Women by Residence and Wealth Index
#---

library(haven)
library(tidyverse)

d1 %
mutate(
v025 = as_factor(v025),
v190 = as_factor(v190),
bmi = ifelse(v445 > 9000, NA, v445/100),
haz = ifelse(hw70 > 9000, NA, hw70/100),
stunting = ifelse(haz < -2, 1, 0)
) %>%
drop_na()

dat_a %>%
ggplot(aes(x = v025, y = bmi, fill = v190)) +
geom_violin(
trim = FALSE,
alpha = 0.75,
linewidth = 0.3,
color = "black"
) +
geom_boxplot(
width = 0.15,
linewidth = 0.3,
outlier.colour = "red",
outlier.size = 1.2,
outlier.alpha = 0.6,
position = position_dodge(width = 0.9)
) +
labs(
x = "Place of residence",
y = "Maternal BMI (kg/m²)",
fill = "Wealth index",
title = "Distribution of Maternal BMI among Nigerian Women"
) +
scale_fill_brewer(palette = "Set3") +
theme_classic(base_size = 12) +
theme(
plot.title = element_text(
size = 14,
face = "bold",
hjust = 0.5
),
axis.title = element_text(
size = 12,
face = "bold"
),
axis.text = element_text(
size = 11,
color = "black"
),
legend.position = "top",
legend.title = element_text(
size = 11,
face = "bold"
),
legend.text = element_text(size = 10)
)

10/06/2026

# Nigeria DHS data analysis
library(haven)
library(tidyverse)

d %
mutate(
v025 = as_factor(v025),
v190 = as_factor(v190),
bmi = ifelse(v445 > 9000, NA, v445/100)
) %>%
drop_na()

dat %>%
ggplot(aes(y=bmi, x=v025, fill = v190))+
geom_boxplot()+
theme_classic()+
theme(legend.position = 'top')+
labs(
y="Body mass index",
x= "Residence",
fill= "SES"
)

10/06/2026

Bivariate Analysis in R Using gtsummary | Compare Two Variables in RStudio

Want your school to be the top-listed School/college in Bathurst?

Click here to claim your Sponsored Listing.

Location

Telephone

Website

Address

School Of Computing, Mathematics & Engineering
Bathurst, NSW
2795