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
An introduction to simple linear regression using R, including model theory, coefficient estimation, and a worked example with visualizations using ggplot2 and plotly.