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

Easy web publishing from R

Write R Markdown documents in RStudio.
Share them here on RPubs. (It’s free, and couldn’t be simpler!)

Get Started

Recently Published

Tugas 2
Belajar software Rstudio
Tourism Intensity and Economic Prosperity: A Cross-Country Regression Analysis
Built a dataset of 156 countries by merging World Bank and Our World in Data indicators, then used multiple linear regression in R to test whether tourism intensity predicts GDP per capita and national poverty rates. Log-transformed skewed variables and validated the models with residual plots, Q-Q plots, Cook’s distance, and VIF. Tourism intensity was a significant predictor in both models (R² = 0.72 for GDP, 0.59 for poverty). The weaker poverty result suggests tourism-driven growth doesn’t fully reach residents.
Code along 9
Can We Predict Fuel Efficiency
Using the mtcars dataset in R, this interactive presentation explores elementary linear regression techniques. This presentation investigates the relationship between vehicle weight and fuel efficiency (MPG) using data visualizations built with ggplot2, an interactive Plotly graph, regression analysis, model assumptions, and forecasts.
Tugas 2 PBS
Belajar software RStudio
Fungsi Dasar Dalam R
Fungsi Dasar Dalam R
Bab 2 Fungsi Dasar
Tugas 2
Taller 3 - Pruebas de hipótesis sobre gobernanza global (Grupo 5)
¿Confiamos en las instituciones que toman decisiones globales y apoyamos la acción climática? Este análisis estadístico estudia la confianza y el apoyo de 100 personas hacia la gobernanza global, y pone a prueba afirmaciones como si la mayoría respalda las iniciativas climáticas o si la confianza cambia según la participación en espacios internacionales. Taller 3 de Estadística Inferencial, Grupo 5.
5.1