RPubs will retire in June 2027. Your existing documents will stay accessible through December 31, 2031
and Connect Cloud is the recommended home for new publishing. Read the blog post

Recently Published

Descriptive Statistics: Mean, Median, and Standard Deviation
A short presentation introducing descriptive statistics using the mtcars dataset, including mean, median, standard deviation, ggplot visualizations, and an interactive Plotly graph.
DATA607_Using a New York Times API in R
Retrieving NYT most-viewed articles through an API and comparing their newspaper sections using R.
Statistics Behind Predictive Models
This presentation explains how simple linear regression can be used to make predictions. It includes an example using study habits and exam scores, along with visualizations, statistical formulas, and R code.
Point Estimate and Confidence Intervals Slides
A brief overview of what the point estimate and confidence intervals are, and how they can be visualized on plotly and ggplot2 graphs.
qmd
Relatório qmd
Document
Advanced Statistics - R Coding Sample
This project uses experimental data from 880 participants to investigate four hypotheses: (1) whether reward-based decision-making improves through experience; (2) whether psychological distancing improves reinforcement learning; (3) whether distancing moderates emotional responses to rewarding and non-rewarding outcomes; and (4) whether psychological symptoms can be explained by three underlying transdiagnostic dimensions. The analyses apply mixed-effects modelling and exploratory and confirmatory factor analysis in R to test four hypotheses.