Background
Provide an example of R programming.
Problem
Create a distribution of values that, when modeled, produces a curve that resembles:

Essentially, I would like to do something like:
x <- seq( 0, 2, by=0.01 )
y <- sin( 2 * pi * cos( x - 1/2 ) )
plot( x, y * runif( x ) )
But without the clump of data points around 0.5:

Question
How would you create such a distribution?
Thank you!
1 Answer