The border between editing and ghostwriting is, at its extremes, a bit porous. An editor really improves and sometimes restructures a manuscript and suggests changes.
Sometimes I write with a particular person in mind. I think it's fair to say that I write for a perceptive reader. You have to get it. If you don't get it the first time you may not understand. If you like repetition, analysis, explanation, you probably won't like my books.