[R] radials in "circular" function

Bert Gunter bgunter@4567 @end|ng |rom gm@||@com
Wed Sep 7 22:51:44 CEST 2022


The Help for arrows.circular has a ... argument which it tells you is
passed on to the (graphics package) arrows() function. ?arrows tells
you that this function has a 'length' argument that controls the
length of the arrow head edges. So set length = 0 in your
arrows.circular call to remove the arrowheads, i.e. plot only the
'spokes'.

Cheers,
Bert

On Wed, Sep 7, 2022 at 1:36 PM Nick Wray <nickmwray using gmail.com> wrote:
>
> Hello.  I am plotting circular statistical data but would like to add
> "spokes" ie radials to the points of the circumference.  The function
> "lines.circular" would seem to be right, but I simply can't create spokes
> with it.   The example given on lines.circular function - RDocumentation
> <https://www.rdocumentation.org/packages/circular/versions/0.4-95/topics/lines.circular>
> is
> not clear and doesn't give spokes.   There's also the arrows.circular
> function but I don't want the arrow heads.  basically can anyone tell me
> how to draw a line from the centre of the circle to a specified plot on the
> rim in "circular"?
>
> Thanks Nick Wray
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list