<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><font face="monospace, monospace">Hello All,</font><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">Here is my code to generate some sample data for my question. As well as a ggplot picture of voronoi.</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">What I want to do is divide each voronoi </font><span style="font-family:monospace,monospace">cell</span><span style="font-family:monospace,monospace">(the polygon in the center which has closure edge ) into three cells(sectors).</span></div><div><pre><img src="cid:ii_ieb1gx2k0_14fabde1b7e4659d" width="385" height="315" style="font-family: monospace, monospace;"><br></pre></div><div><font face="monospace, monospace"></font><span style="font-family:monospace,monospace">> </span><span style="font-family:monospace,monospace">head(data)</span><font face="monospace, monospace"><br></font></div><pre><font face="monospace, monospace"> site lng lat sector azimuth kpiA
1 a 103.8504 1.315139 a1 0 10
2 a 103.8504 1.315139 a2 120 20
3 a 103.8504 1.315139 a3 240 30
4 b 103.8481 1.321613 b1 50 40
5 b 103.8481 1.321613 b2 190 50
6 b 103.8481 1.321613 b3 320 60</font></pre><pre><br></pre></div></div></div>