数据格式如下:
| Count | Population | Rate=count/population*1000 | x | y |
8 | 74932 | 0.106763 | 22.2825 | 114.1583 |
10 | 97601 | 0.102458 | 22.2866 | 114.1384 |
9 | 78986 | 0.113944 | 22.28 | 114.1481 |
21 | 179004 | 0.117316 | 22.2653 | 114.2458 |
17 | 172711 | 0.09843 | 22.2905 | 114.1975 |
13 | 114062 | 0.113973 | 22.2872 | 114.2138 |
x和y是坐标,count是在该坐标所在地患某病的人数,population是总人数,想用核密度来估计患病率,听说能用R的spatialkernel包来做,请问程序该怎么写啊??
急需大家帮忙啊啊啊先谢过了!!!