Hi Roger,<br><br><div><span class="gmail_quote"><br></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I believe that you should pay attention to the warning. Please run the
<br>example for the function. </blockquote><div><br>I already did it but it seems there is similar problems:<br><br>&gt; ?read.gwt2nb<br>&gt; data(baltimore)<br>&gt; STATION &lt;- baltimore$STATION<br>&gt; gwt1 &lt;- read.gwt2nb
(system.file(&quot;etc/weights/baltk4.GWT&quot;, package=&quot;spdep&quot;)[1],<br>+&nbsp; STATION)<br>Warning message:<br>102, 115, 208 are not destinations in: read.gwt2nb(system.file(&quot;etc/weights/baltk4.GWT&quot;, package = &quot;spdep&quot;)[1],&nbsp; 
<br>&gt; cat(paste(&quot;Neighbours list symmetry;&quot;, is.symmetric.nb(gwt1, FALSE, TRUE),<br>+&nbsp; &quot;\n&quot;))<br>Neighbours list symmetry; FALSE <br>&gt; listw1 &lt;- nb2listw(gwt1, style=&quot;B&quot;, glist=attr(gwt1, &quot;GeoDa&quot;)$dist)
<br>&gt; tmpGWT &lt;- tempfile()<br>&gt; write.sn2gwt(listw2sn(listw1), tmpGWT)<br>&gt; gwt2 &lt;- read.gwt2nb(tmpGWT, STATION)<br>Warning message:<br>102, 115, 208 are not destinations in: read.gwt2nb(tmpGWT, STATION) <br>
&gt; cat(paste(&quot;Neighbours list symmetry;&quot;, is.symmetric.nb(gwt2, FALSE, TRUE),<br>+&nbsp; &quot;\n&quot;))<br>Neighbours list symmetry; FALSE <br>&gt; diffnb(gwt1, gwt2)<br>Neighbour list object:<br>Number of regions: 211 
<br>Number of nonzero links: 0 <br>Percentage nonzero weights: 0 <br>Average number of links: 0 <br>211 regions with no links:<br>1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211
<br>&gt; data(oldcol)<br>&gt; tmpMAT &lt;- tempfile()<br><br>&nbsp;</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">If you do not see the same issues there, you
<br>will need to look carefully at your GWT file, which may not be what you<br>think.It is a text file, so is easy to examine. Please also try to<br>provide access to the GWT file, if you think that it does contain what you
<br>think. </blockquote><div>I also did it but I see no problem with my gwt file (made via Geoda):<br><br>0 417 ba_base_toda ID_<br>291110 290320&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.14838787<br>291110 292620&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.20007809<br>291110 292840&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
1.26206315<br>291110 291955&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.39205921<br>291110 290140&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.54464659<br>291110 292045&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.7405391<br>291110 290740&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.81707945<br>291110 290940&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.83009167<br>290320 292620&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.466408625
<br>290320 291955&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.650969045<br>290320 290140&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.757652243<br>290320 290740&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.890575291<br>290320 292890&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.912077132<br><br>&nbsp;Attached to this email there is the whole file.<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
At least some regions seem to have no neighbours.</blockquote><div><br>Since I use the option k-nearest neighbors in GeoDa, it is impossible there is regions without neighbours in this .gwt file.<br><br>Any second thoughts?
<br>&nbsp;<br>Help and advice really appreciated,<br><br></div>Antonio.<br></div>