"spreading out" a numeric vector
Would this function be worth submitting to some existing cran library? I'd be willing to document it and add error-checking if there is somewhere that it belongs (with credit to Greg of course, unless Greg wants to submit it himself). I am using it in conjunction with a function I wrote which draws tics on the timeline and draws a line from the tic to the label when they aren't aligned.
> I have tried experimenting with using optim to minimize a function of > the distances between new points and old points penealized for being to > close, but it sometimes gave me some weird results, the above has worked > fairly well for me (the above is based on some of the code inside the > triplot function in the TeachingDemos package). > > Hope this helps, > > -- > Gregory (Greg) L. Snow Ph.D. > Statistical Data Center > Intermountain Healthcare > greg.snow at imail.org > (801) 408-8111