Go to the App Store and download El Capitan.Install Yosemite using the recovery partition.One way to do a clean install of El Capitan when only having one Mac and a Yosemite recovery partition is this: Without a different Mac you cannot download an El Capitan installer without first installing Yosemite on your Mac.