Message-ID: <7a09e3940803241339n29343747q140676244b0a7360@mail.gmail.com>
Date: 2008-03-24T20:39:20Z
From: Levi Waldron
Subject: "spreading out" a numeric vector
In-Reply-To: <7a09e3940803241314s24e7f8a3i94e37e93ab5ae773@mail.gmail.com>
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
>