[R] Interpolation of azimuth values

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Oct 16 09:34:55 CEST 2003


On Thu, 16 Oct 2003, temiz wrote:

> I will make an interpolation of data which represents azimuth direction
> ( angle from north in clockwise direction) values.
> But there is a problem.
> Say, for instance, while 1 and 359 indicate somewhat same direction, 
> interpolation puts  values
> in the range from 1 to 359.  What can I do to solve the problem ?
> 
> Anything you offer ?

The usual solution is to extend the data periodically, that is to put 
copies shifted by one rotation on each side.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list