Note that there are some explanatory texts on larger screens.

plurals
  1. POhierarchy in voronoi tessellations
    primarykey
    data
    text
    <p>I am working with voronoi tessellations. I have different polygons representing regions in the tessellations. </p> <p>The points below are used to draw the tessellation in the figure.</p> <pre><code>tessdata [,1] [,2] 1 -0.4960583 -0.3529047 2 -2.4986929 0.8897895 3 3.6514561 -1.3533369 4 -1.7263101 -5.5341202 5 2.2140143 0.3883696 6 -2.5208933 -1.4881461 7 -3.2556913 4.4535629 8 0.6423109 -2.8350062 9 -0.4160715 1.2676151 10 4.4059361 4.5641771 </code></pre> <p>Using <code>tessdata</code> as input to draw the tessellation as below:</p> <pre><code>library(deldir) dd&lt;-deldir(tessdata[,1], tessdata[,2]) plot(dd,wlines="tess") </code></pre> <p><img src="https://i.stack.imgur.com/119dJ.png" alt="enter image description here"></p> <p>Sammon coordinates are below.</p> <pre><code> [,1] [,2] 1 3.14162704 -1.45728604 2 2.35422623 2.46437927 3 -0.85051049 2.71503294 4 1.94310458 -0.45936958 5 0.08737757 3.74324701 6 1.23007799 1.34443842 7 0.01571924 2.19322032 8 1.43320754 2.64818631 9 -0.05463431 0.66980876 10 1.51344967 5.03351176 </code></pre> <p>I want to construct the tessellations for which the sammon coordinate points are input. The tessellation using these points should be within one of the regions in the figure shown and for that, the above points should be scaled or we can restrict the plot of the tessellation within one of the regions in the above figure.</p> <p>Hope i have covered all the necessary data.</p> <p>P.S: </p> <p>sammon's projection comes in "MASS" package. voronoi tessellations from "deldir" package.</p> <p>dirsgs argument of the deldir function output will give the coordinates of the points forming the lines in the tessellations.</p> <p>segments function of package graphics can be used to join the 2 points whose coordinates are extracted from dirsgs.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload