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
Develop an R function to draw a density curve representing the probability density function of a continuous variable, with seperate curves for each group, usign ggplot2.