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

Plot
Midterm
Reproducible research final project
basic goal of this assignment is to explore the NOAA Storm Database
HTML library(tmap)
tmap_mode("plot")
CA 2 Project 12521076
Global War and Conflict Impact
Plot library(tmap)
tm_shape(r) + tm_raster()
Plot library(tmap)
library(tmap) system.file("gpkg/nc.gpkg", package = "sf") |> read_sf() |> st_transform('EPSG:32119') -> nc.32119 tm_shape(nc.32119) + tm_polygons(c("SID74", "SID79"), title = "SIDS") + tm_layout(legend.outside = TRUE, panel.labels = c("1974-78", "1979-84")) + tm_facets(free.scales=FALSE)
A/B Testing and Statistical Significance.
A/B testing example using hypothesis testing, confidence intervals, and visualization in R.
Plot library(ggplot2, stars)
library(ggplot2) library(stars) r <- read_stars(system.file("tif/L7_ETMs.tif", package = "stars")) ggplot() + geom_stars(data = r) + facet_wrap(~band) + coord_equal() + theme_void() + scale_x_discrete(expand = c(0,0)) + scale_y_discrete(expand = c(0,0)) + scale_fill_viridis_c()