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

Document
Document
This presentation showcases a SwiftKey-inspired next-word prediction application developed using R and Shiny. It explains the N-gram language model, text preprocessing, training data from blogs, news and Twitter, and how the application predicts the most likely next word from a user-entered phrase.
CatPlots 1.01
Fixed the incorrect claim that the Observable Universe is 3*10^42 kg. That's the Milky Way. How could I be so stupid!
Edad mediana a la primera unión conyugal
Se entiende por nupcialidad al Matrimonio, el divorcio, la viudez, y el rematrimonio, el interés de la demografía por estudiar la dinámica de estos patrones además de ver la edad a la primera unión, o la separación es como afecta a la fecundidad, ya que se entiende por exposición al riesgo de tener un hijo nacido mayor este aumenta cuando la mujer se encuentra en una situación conyugal.
Colorectal Cancer Screening in Arkansas, 2022–2024
This cross-sectional study examines colorectal cancer screening among Arkansas adults aged 45–75 using the 2022 and 2024 Behavioral Risk Factor Surveillance System (BRFSS) public-use datasets. The primary outcome is being up to date with screening according to the CDC calculated colorectal screening variable. Estimates account for BRFSS sampling weights, strata, and primary sampling units. Survey-weighted logistic regression assesses associations with age, sex, race and ethnicity, education, income, insurance, access to a personal healthcare provider, metropolitan residence, smoking, and survey year. We also evaluate age-group interactions and perform sensitivity analyses using alternative age ranges and inverse-probability weighting for observed screening outcomes. Associations are observational and should not be interpreted as causal effects.
Colorectal Cancer Screening in Arkansas, 2022–2024
This cross-sectional study examines colorectal cancer screening among Arkansas adults aged 45–75 using the 2022 and 2024 Behavioral Risk Factor Surveillance System (BRFSS) public-use datasets. The primary outcome is being up to date with screening according to the CDC calculated colorectal screening variable. Estimates account for BRFSS sampling weights, strata, and primary sampling units. Survey-weighted logistic regression assesses associations with age, sex, race and ethnicity, education, income, insurance, access to a personal healthcare provider, metropolitan residence, smoking, and survey year. We also evaluate age-group interactions and perform sensitivity analyses using alternative age ranges and inverse-probability weighting for observed screening outcomes. Associations are observational and should not be interpreted as causal effects.
Homework