Creates nclust clusters normally distributed around 1:nclust

simulate_data(
  n = 100,
  sd = 0.3,
  nclust = 30,
  dims = 2,
  frac_na = NULL,
  add_true_clust = TRUE,
  id_column = TRUE
)

Arguments

n

number of observations per cluster

sd

sd

nclust

number of clusters

dims

number of dimensions

frac_na

fraction of NA in the first dimension

add_true_clust

add a column with the true cluster ids

id_column

add a column with the id

Value

simulated data

Examples

simulate_data(n = 100, sd = 0.3, nclust = 5, dims = 2)
#>      id         V1        V2 true_clust
#> 1     1 0.99034084 1.3108451          1
#> 2     2 0.95453372 1.0874408          1
#> 3     3 1.45048524 0.6009833          1
#> 4     4 1.18342817 1.3598835          1
#> 5     5 1.04954759 0.9608994          1
#> 6     6 0.42939211 0.8710003          1
#> 7     7 0.47432141 0.7159514          1
#> 8     8 0.25724970 0.7069155          1
#> 9     9 0.93755285 1.0768320          1
#> 10   10 1.14300897 1.1508588          1
#> 11   11 1.08681469 1.0221508          1
#> 12   12 1.08443712 1.2582586          1
#> 13   13 0.51320573 0.7826363          1
#> 14   14 1.07625293 0.4478856          1
#> 15   15 1.40213835 1.0728643          1
#> 16   16 0.96606616 0.5759927          1
#> 17   17 1.09103504 0.4807244          1
#> 18   18 1.22175341 0.8880681          1
#> 19   19 1.13001431 1.1069889          1
#> 20   20 1.35863721 1.5067026          1
#> 21   21 0.65204549 0.9274220          1
#> 22   22 1.14232202 0.9760561          1
#> 23   23 0.92012627 1.3588444          1
#> 24   24 1.24854212 1.1163881          1
#> 25   25 1.25530504 1.5495201          1
#> 26   26 0.96974377 0.7093503          1
#> 27   27 0.84270981 0.6339909          1
#> 28   28 0.20252335 0.9269980          1
#> 29   29 0.98688684 1.4129378          1
#> 30   30 0.84989101 1.2123633          1
#> 31   31 0.92160603 0.3927082          1
#> 32   32 1.29103516 0.7589958          1
#> 33   33 0.60528013 0.9477724          1
#> 34   34 1.43020129 1.1523625          1
#> 35   35 0.95898939 1.1797741          1
#> 36   36 0.45125072 1.4355141          1
#> 37   37 1.04713269 1.4157858          1
#> 38   38 0.90969114 1.2808224          1
#> 39   39 0.57741124 1.3235837          1
#> 40   40 0.83008926 0.8363714          1
#> 41   41 1.50075009 0.9282323          1
#> 42   42 0.96209581 1.2911191          1
#> 43   43 1.36168701 1.1592908          1
#> 44   44 0.97121284 1.0851366          1
#> 45   45 0.68957671 0.8373322          1
#> 46   46 1.14965402 1.0455288          1
#> 47   47 1.06367485 1.1156354          1
#> 48   48 0.85853257 1.5189991          1
#> 49   49 1.53800398 1.6717562          1
#> 50   50 1.19525101 1.5955044          1
#> 51   51 0.81835022 1.5712759          1
#> 52   52 1.29294763 1.0409158          1
#> 53   53 0.84826840 0.8629556          1
#> 54   54 1.40648689 0.7011097          1
#> 55   55 0.90239765 1.0276222          1
#> 56   56 1.40556706 1.1316276          1
#> 57   57 1.26958882 0.7123998          1
#> 58   58 0.78847824 1.6901241          1
#> 59   59 1.22641936 0.6119236          1
#> 60   60 1.49395037 0.6424845          1
#> 61   61 0.02459427 1.2119537          1
#> 62   62 0.80470282 0.1198724          1
#> 63   63 0.90328784 0.9224333          1
#> 64   64 1.25935248 0.6791439          1
#> 65   65 1.07678295 1.3199137          1
#> 66   66 0.50108299 0.8080738          1
#> 67   67 0.78380916 0.9662991          1
#> 68   68 1.07502416 1.1735102          1
#> 69   69 0.54453963 0.9921337          1
#> 70   70 1.13410237 0.6584099          1
#> 71   71 1.27009627 1.2044158          1
#> 72   72 1.07794645 0.7474206          1
#> 73   73 1.30538971 0.8496096          1
#> 74   74 1.18428140 0.6226567          1
#> 75   75 0.92817760 1.6243550          1
#> 76   76 0.45905522 0.7011185          1
#> 77   77 1.00402770 0.5959545          1
#> 78   78 0.97980139 0.7235982          1
#> 79   79 1.50362663 1.9073113          1
#> 80   80 0.92456284 1.7690721          1
#> 81   81 0.74342534 1.3006405          1
#> 82   82 1.00879549 1.2066876          1
#> 83   83 0.89437315 1.0953895          1
#> 84   84 0.58958645 0.4412346          1
#> 85   85 1.14538402 0.8309567          1
#> 86   86 0.78988690 1.2450760          1
#> 87   87 0.95053632 0.6603020          1
#> 88   88 1.13740455 1.1048539          1
#> 89   89 1.11084890 0.9498452          1
#> 90   90 1.24439590 0.9886159          1
#> 91   91 0.87031449 1.7171931          1
#> 92   92 1.34631311 0.7910263          1
#> 93   93 1.45457843 1.2573609          1
#> 94   94 1.06536806 1.4058078          1
#> 95   95 1.10213429 1.0737277          1
#> 96   96 1.38792756 1.2418974          1
#> 97   97 1.48200791 0.7779926          1
#> 98   98 0.85794881 0.8186640          1
#> 99   99 1.10328075 1.2559776          1
#> 100 100 0.67126319 0.7479478          1
#> 101 101 1.91081049 1.6307799          2
#> 102 102 2.31300961 1.5913366          2
#> 103 103 1.20348063 1.9292358          2
#> 104 104 1.95619655 1.6252228          2
#> 105 105 2.03364778 2.3980038          2
#> 106 106 2.10318133 1.7870743          2
#> 107 107 2.38631274 2.2511111          2
#> 108 108 2.26931753 2.0188999          2
#> 109 109 2.10863814 1.9638528          2
#> 110 110 2.03170693 2.4853451          2
#> 111 111 1.96041315 2.3670353          2
#> 112 112 2.32035507 2.0035204          2
#> 113 113 2.27757876 2.1002166          2
#> 114 114 2.39715532 1.6807617          2
#> 115 115 2.31026649 2.0822092          2
#> 116 116 2.04436629 1.8894277          2
#> 117 117 2.10071691 1.8628337          2
#> 118 118 1.80661671 2.2192470          2
#> 119 119 1.68633029 2.0127500          2
#> 120 120 1.58940996 1.2585939          2
#> 121 121 1.84779044 1.9713184          2
#> 122 122 2.04282811 2.0002570          2
#> 123 123 1.84322736 1.8865131          2
#> 124 124 1.93451642 2.3019471          2
#> 125 125 1.64035092 1.9302656          2
#> 126 126 2.08621571 1.8007966          2
#> 127 127 2.32902109 2.1053727          2
#> 128 128 1.79166059 1.7920511          2
#> 129 129 1.59331903 1.1665238          2
#> 130 130 1.92424710 2.3397214          2
#> 131 131 1.99207573 1.6985415          2
#> 132 132 2.36835770 1.5813873          2
#> 133 133 2.24624992 1.9589857          2
#> 134 134 2.04107509 2.1445981          2
#> 135 135 2.33132866 2.3278743          2
#> 136 136 1.71956213 1.6034656          2
#> 137 137 1.90443900 2.3166747          2
#> 138 138 2.35460642 1.9517140          2
#> 139 139 2.03204419 1.9480097          2
#> 140 140 1.64813870 1.9124755          2
#> 141 141 2.30369295 2.6740006          2
#> 142 142 2.17814832 2.1113285          2
#> 143 143 1.69853948 2.3708789          2
#> 144 144 2.37475541 2.2642014          2
#> 145 145 1.96085073 2.2794081          2
#> 146 146 2.04735686 2.4105219          2
#> 147 147 2.56700289 1.5381628          2
#> 148 148 2.18779193 2.0415412          2
#> 149 149 1.49448860 1.4524138          2
#> 150 150 2.67493159 2.3311392          2
#> 151 151 1.89189883 2.2314115          2
#> 152 152 2.51451625 2.2727446          2
#> 153 153 1.80700759 2.1168738          2
#> 154 154 1.93539032 2.0726915          2
#> 155 155 2.15526119 2.3452293          2
#> 156 156 2.26744562 1.8605995          2
#> 157 157 2.13675992 1.2943082          2
#> 158 158 1.71063340 2.1487539          2
#> 159 159 1.90102556 1.6916552          2
#> 160 160 2.18891671 2.2520743          2
#> 161 161 2.05117037 2.1928715          2
#> 162 162 1.97702206 1.8439099          2
#> 163 163 1.91629781 1.8364060          2
#> 164 164 2.06177993 2.0242680          2
#> 165 165 2.10555814 1.8895774          2
#> 166 166 2.26969827 2.1364553          2
#> 167 167 1.71409182 1.9168507          2
#> 168 168 2.19501523 2.1209501          2
#> 169 169 1.80086715 2.0024414          2
#> 170 170 2.40642719 1.8929688          2
#> 171 171 1.73976315 2.1483662          2
#> 172 172 2.01538779 2.3107979          2
#> 173 173 2.47280887 2.1810987          2
#> 174 174 2.29262504 2.0140093          2
#> 175 175 2.23150719 2.1770980          2
#> 176 176 1.96850111 2.0910119          2
#> 177 177 1.76931822 2.0444463          2
#> 178 178 2.32121040 2.2969180          2
#> 179 179 1.94603829 2.0452358          2
#> 180 180 1.67221079 2.1135779          2
#> 181 181 1.41587716 1.8820729          2
#> 182 182 1.54352624 1.7871853          2
#> 183 183 1.95376297 1.4244428          2
#> 184 184 2.26586580 1.9780912          2
#> 185 185 1.57422234 1.7625463          2
#> 186 186 2.11796279 2.3026467          2
#> 187 187 1.74444746 2.4778374          2
#> 188 188 2.21845016 2.3763087          2
#> 189 189 2.51491195 2.3618120          2
#> 190 190 1.88072618 1.7152822          2
#> 191 191 2.00686091 1.7105611          2
#> 192 192 2.43280790 1.9824823          2
#> 193 193 1.73462451 1.9011435          2
#> 194 194 2.69202097 1.7445667          2
#> 195 195 1.97070967 1.8496077          2
#> 196 196 1.84616432 2.1929031          2
#> 197 197 1.95855598 2.4080545          2
#> 198 198 2.39102524 2.3938516          2
#> 199 199 1.92948722 2.2174972          2
#> 200 200 2.16360070 1.9399440          2
#> 201 201 2.71581986 3.1356950          3
#> 202 202 3.24341686 2.7776226          3
#> 203 203 3.14646158 2.5910329          3
#> 204 204 3.60929784 2.6133667          3
#> 205 205 2.93847063 3.7998002          3
#> 206 206 2.71461059 2.6280227          3
#> 207 207 2.90399566 2.9181313          3
#> 208 208 2.99628576 2.8431014          3
#> 209 209 2.94484788 2.7246389          3
#> 210 210 2.75588062 3.2539746          3
#> 211 211 3.25384868 3.0154380          3
#> 212 212 2.74558144 3.0379360          3
#> 213 213 2.70575379 3.2555820          3
#> 214 214 2.91488231 3.1545652          3
#> 215 215 2.95548349 3.3039676          3
#> 216 216 2.79824654 2.8689375          3
#> 217 217 2.32279543 3.0349375          3
#> 218 218 2.71779125 2.6499910          3
#> 219 219 3.62163623 2.4308878          3
#> 220 220 3.47678652 3.3707315          3
#> 221 221 2.95376791 2.7530103          3
#> 222 222 2.98722017 2.8512025          3
#> 223 223 3.03159790 3.0385558          3
#> 224 224 3.49661538 2.9895232          3
#> 225 225 3.40489909 2.8010799          3
#> 226 226 3.44464967 2.8588478          3
#> 227 227 3.27117373 3.2893949          3
#> 228 228 3.20932796 3.1082535          3
#> 229 229 2.70870577 2.3031575          3
#> 230 230 2.79379904 3.4086203          3
#> 231 231 3.37475162 2.4296452          3
#> 232 232 2.78536844 2.8111651          3
#> 233 233 2.82562074 2.7436955          3
#> 234 234 2.64507155 2.6959738          3
#> 235 235 3.45089993 2.7533043          3
#> 236 236 3.10578647 3.3463718          3
#> 237 237 2.63180867 3.3406844          3
#> 238 238 2.63065252 2.9371758          3
#> 239 239 3.46122099 3.4567761          3
#> 240 240 2.35019829 3.3118106          3
#> 241 241 2.71390042 3.1158922          3
#> 242 242 3.09975176 2.8787919          3
#> 243 243 2.94170680 2.8849696          3
#> 244 244 2.49540938 3.2698131          3
#> 245 245 3.26518282 3.1242757          3
#> 246 246 3.10556458 2.7740962          3
#> 247 247 3.51189579 2.7148053          3
#> 248 248 2.78492926 2.9236724          3
#> 249 249 2.99734415 3.3046353          3
#> 250 250 3.05382870 3.5057003          3
#> 251 251 2.93177997 2.6162319          3
#> 252 252 2.69676485 2.7756654          3
#> 253 253 3.41760884 3.1765353          3
#> 254 254 2.58618797 2.8973159          3
#> 255 255 3.38210145 3.0088220          3
#> 256 256 3.12259958 3.0978320          3
#> 257 257 3.24758816 2.5597818          3
#> 258 258 2.60504836 2.7414712          3
#> 259 259 3.24675278 2.6320208          3
#> 260 260 2.51428501 3.3190664          3
#> 261 261 3.63379054 2.8779499          3
#> 262 262 2.72230513 2.9259594          3
#> 263 263 3.06340907 3.2538294          3
#> 264 264 3.11331813 2.8985875          3
#> 265 265 2.94573501 3.0418351          3
#> 266 266 2.80713660 2.8942813          3
#> 267 267 2.91668228 3.6296133          3
#> 268 268 3.03464469 3.2136335          3
#> 269 269 2.94451515 2.9858667          3
#> 270 270 3.09351670 3.3191856          3
#> 271 271 3.71595974 3.0568758          3
#> 272 272 3.19664071 2.9876488          3
#> 273 273 3.29957348 3.2068989          3
#> 274 274 2.80525182 2.6574679          3
#> 275 275 2.75345505 3.3062402          3
#> 276 276 3.14934913 3.1453905          3
#> 277 277 2.68034974 2.6540327          3
#> 278 278 3.01039521 2.4816034          3
#> 279 279 3.00959793 2.9830654          3
#> 280 280 3.31313903 3.3585387          3
#> 281 281 3.48880581 2.2456758          3
#> 282 282 3.22663036 3.2051116          3
#> 283 283 3.12407356 3.0170496          3
#> 284 284 2.43308840 3.0135384          3
#> 285 285 2.70187314 2.9921106          3
#> 286 286 2.83816203 2.8174795          3
#> 287 287 2.86567604 2.9670556          3
#> 288 288 2.72045660 2.7931081          3
#> 289 289 3.36110377 3.0157976          3
#> 290 290 2.96350874 2.9970517          3
#> 291 291 2.72110433 3.4285173          3
#> 292 292 2.43745961 3.0629738          3
#> 293 293 2.69642269 3.5749156          3
#> 294 294 3.40204374 2.7233169          3
#> 295 295 3.63742639 2.8909633          3
#> 296 296 3.22015641 3.4309084          3
#> 297 297 2.95470910 3.1954208          3
#> 298 298 2.92426523 2.6426734          3
#> 299 299 3.41740784 3.1565608          3
#> 300 300 3.54929252 3.3293874          3
#> 301 301 3.74678912 3.6795485          4
#> 302 302 3.95721110 3.9843139          4
#> 303 303 4.62645757 3.8739046          4
#> 304 304 4.16370270 3.8278695          4
#> 305 305 3.75005649 4.0775859          4
#> 306 306 4.08236320 4.1350013          4
#> 307 307 4.29803632 4.1048853          4
#> 308 308 3.38209297 3.9616013          4
#> 309 309 3.88121304 4.4002097          4
#> 310 310 3.62282427 3.6560572          4
#> 311 311 3.83343315 3.8314672          4
#> 312 312 4.19640317 3.6829103          4
#> 313 313 4.05337782 4.1049463          4
#> 314 314 4.04541940 3.7231480          4
#> 315 315 3.87096558 3.8363378          4
#> 316 316 3.87178005 4.2953793          4
#> 317 317 4.05566209 3.8382985          4
#> 318 318 4.03775462 4.1793578          4
#> 319 319 4.53132027 3.8736419          4
#> 320 320 4.09881810 3.8971109          4
#> 321 321 4.21852997 4.2587156          4
#> 322 322 4.54421647 3.8161456          4
#> 323 323 3.52060535 3.6509869          4
#> 324 324 3.77279618 4.5511349          4
#> 325 325 3.18554092 3.7766021          4
#> 326 326 4.31939745 4.1877648          4
#> 327 327 3.25221653 4.0777857          4
#> 328 328 4.29474053 4.3570895          4
#> 329 329 4.61513431 3.8478222          4
#> 330 330 3.99028693 4.7842285          4
#> 331 331 4.10079349 3.9273290          4
#> 332 332 3.92573699 4.4423689          4
#> 333 333 4.19278887 4.0301219          4
#> 334 334 3.65030626 4.0340185          4
#> 335 335 3.50443821 4.3848934          4
#> 336 336 4.35167997 4.3434608          4
#> 337 337 4.33672701 4.3259774          4
#> 338 338 4.18427081 3.5494395          4
#> 339 339 3.86666587 3.7079530          4
#> 340 340 3.76608802 3.4789902          4
#> 341 341 3.84200483 3.9278848          4
#> 342 342 4.10752006 4.3143573          4
#> 343 343 3.68433265 3.6894182          4
#> 344 344 3.87040090 3.8366419          4
#> 345 345 4.21510908 3.9425897          4
#> 346 346 3.89196188 3.9165030          4
#> 347 347 3.58833253 3.8040454          4
#> 348 348 4.20909829 3.9653998          4
#> 349 349 4.25121439 3.8761269          4
#> 350 350 3.97364511 3.9425612          4
#> 351 351 3.98832971 3.8883186          4
#> 352 352 3.90176452 3.5628107          4
#> 353 353 3.91691068 4.0385899          4
#> 354 354 3.87877492 3.5977756          4
#> 355 355 4.03109517 3.3421866          4
#> 356 356 3.58579943 4.4704276          4
#> 357 357 4.11179044 3.9894572          4
#> 358 358 3.94030011 4.4655571          4
#> 359 359 3.86821007 3.8087196          4
#> 360 360 3.95943845 3.7043537          4
#> 361 361 4.58089041 3.3683234          4
#> 362 362 4.25417750 3.9869351          4
#> 363 363 4.45391353 4.2713682          4
#> 364 364 4.22944923 3.3495559          4
#> 365 365 4.14297132 3.7247352          4
#> 366 366 4.17460477 4.0308067          4
#> 367 367 3.53267246 4.0233507          4
#> 368 368 3.88908359 3.8354748          4
#> 369 369 3.79480150 4.6622302          4
#> 370 370 3.97156570 4.0946437          4
#> 371 371 3.82468288 4.0096502          4
#> 372 372 4.20896234 4.0467571          4
#> 373 373 3.74269264 3.5110926          4
#> 374 374 4.12672953 4.1250767          4
#> 375 375 4.09117584 3.3176340          4
#> 376 376 4.28486456 3.6195038          4
#> 377 377 4.17546899 4.1904002          4
#> 378 378 4.32172095 4.0839901          4
#> 379 379 4.12647571 4.3300273          4
#> 380 380 4.36016615 4.1909495          4
#> 381 381 3.93408256 4.2518500          4
#> 382 382 4.11519740 3.8948949          4
#> 383 383 4.09861360 4.3314508          4
#> 384 384 3.74317082 3.9170625          4
#> 385 385 4.25845805 4.0393531          4
#> 386 386 4.13859189 4.1907566          4
#> 387 387 3.84199518 4.1827024          4
#> 388 388 3.95989346 4.4532509          4
#> 389 389 3.79182026 4.1050913          4
#> 390 390 4.29738332 3.9233805          4
#> 391 391 3.78769113 3.8431401          4
#> 392 392 4.24610749 3.8106729          4
#> 393 393 3.98564913 4.1632425          4
#> 394 394 4.42959509 4.2737617          4
#> 395 395 4.22599842 4.1804843          4
#> 396 396 4.25730295 3.9137069          4
#> 397 397 4.17062850 3.9740448          4
#> 398 398 3.78854118 4.4353907          4
#> 399 399 3.70238357 3.9625513          4
#> 400 400 4.54199667 4.0010862          4
#> 401 401 4.73371585 6.0159137          5
#> 402 402 5.50011898 5.3963154          5
#> 403 403 4.82618670 5.0142338          5
#> 404 404 4.46575992 4.8624716          5
#> 405 405 5.16200958 5.0935835          5
#> 406 406 5.09129019 4.9146889          5
#> 407 407 4.77963302 5.4749515          5
#> 408 408 4.82748818 5.2802421          5
#> 409 409 5.21966484 5.2725720          5
#> 410 410 4.77270368 4.7276823          5
#> 411 411 4.98197823 4.9028220          5
#> 412 412 5.02187141 4.6310841          5
#> 413 413 4.67225354 4.8618670          5
#> 414 414 4.66316985 5.2515598          5
#> 415 415 4.98519301 5.3183055          5
#> 416 416 4.85597259 5.2075088          5
#> 417 417 4.90375579 5.2017759          5
#> 418 418 4.96893929 4.9835472          5
#> 419 419 4.79611539 4.7149179          5
#> 420 420 5.52531032 4.1235402          5
#> 421 421 4.85768679 5.3960097          5
#> 422 422 4.61438151 5.1301137          5
#> 423 423 4.73841449 4.6327166          5
#> 424 424 4.59082433 5.1547573          5
#> 425 425 5.36022899 4.9394326          5
#> 426 426 5.37369160 4.8610118          5
#> 427 427 4.68914993 5.1725162          5
#> 428 428 4.89424998 4.7568206          5
#> 429 429 4.67692193 5.2146952          5
#> 430 430 4.83771717 5.0745139          5
#> 431 431 5.32025605 4.8583901          5
#> 432 432 5.07853035 4.8768632          5
#> 433 433 4.85464746 5.3167695          5
#> 434 434 4.46442006 5.2067439          5
#> 435 435 4.92327509 5.2384924          5
#> 436 436 5.91857837 5.0819898          5
#> 437 437 4.90516358 5.2717678          5
#> 438 438 4.89194086 4.8712068          5
#> 439 439 4.62316192 5.0820617          5
#> 440 440 5.56728196 4.8453905          5
#> 441 441 4.98422782 5.5004420          5
#> 442 442 5.01894975 5.1352581          5
#> 443 443 4.69990129 4.8309179          5
#> 444 444 5.34992241 4.9855399          5
#> 445 445 5.22869749 4.8065453          5
#> 446 446 5.13860637 5.5024488          5
#> 447 447 5.63240163 5.3768944          5
#> 448 448 4.61041828 4.6332495          5
#> 449 449 5.06348176 4.9080959          5
#> 450 450 5.36918250 4.5267553          5
#> 451 451 4.37961900 5.0261465          5
#> 452 452 5.32394797 4.6679761          5
#> 453 453 5.03404512 5.1529474          5
#> 454 454 5.18824727 5.3569343          5
#> 455 455 5.24675118 4.4265663          5
#> 456 456 4.99329736 4.7358922          5
#> 457 457 5.51715810 5.4609266          5
#> 458 458 4.91227220 4.9095714          5
#> 459 459 4.89962597 4.5351561          5
#> 460 460 4.99485281 4.4935242          5
#> 461 461 4.38662636 5.0632891          5
#> 462 462 4.61224072 5.1439708          5
#> 463 463 4.61228308 5.2254617          5
#> 464 464 4.83418279 5.0463434          5
#> 465 465 5.06073016 4.9037522          5
#> 466 466 4.88491057 5.4688908          5
#> 467 467 4.71617871 4.5316458          5
#> 468 468 4.63033761 4.6981114          5
#> 469 469 5.08790306 4.9449591          5
#> 470 470 5.03519910 4.8126130          5
#> 471 471 5.21228536 5.1557265          5
#> 472 472 5.59062897 5.1347313          5
#> 473 473 5.26110351 4.8314826          5
#> 474 474 4.72600345 5.1518600          5
#> 475 475 5.06676192 4.8589637          5
#> 476 476 4.60390248 5.3158162          5
#> 477 477 5.39412614 4.8355233          5
#> 478 478 4.78112234 4.4552850          5
#> 479 479 4.72054527 4.6924927          5
#> 480 480 5.15510615 4.5483741          5
#> 481 481 5.08465565 5.3445440          5
#> 482 482 4.68283817 4.9293661          5
#> 483 483 4.82727873 5.2941534          5
#> 484 484 4.54887297 4.7956020          5
#> 485 485 4.53982414 4.8394143          5
#> 486 486 4.98614576 5.1677916          5
#> 487 487 5.06585977 5.5177273          5
#> 488 488 4.90407813 5.3961564          5
#> 489 489 5.15423879 4.8339308          5
#> 490 490 5.48412367 5.4052141          5
#> 491 491 4.68969113 4.7581290          5
#> 492 492 5.05110731 4.8755804          5
#> 493 493 5.12668652 5.0129428          5
#> 494 494 5.12136969 5.4304089          5
#> 495 495 4.76222890 4.7608692          5
#> 496 496 5.19415452 4.9799807          5
#> 497 497 5.02226324 4.7281323          5
#> 498 498 5.05027208 4.8780200          5
#> 499 499 4.85299035 4.7943298          5
#> 500 500 5.26398120 5.2870028          5

# add 20% missing data
simulate_data(n = 100, sd = 0.3, nclust = 5, dims = 2, frac_na = 0.2)
#>      id        V1        V2 true_clust
#> 1     1        NA 1.2062055          1
#> 2     2        NA 0.7106177          1
#> 3     3 1.1251771 1.0682333          1
#> 4     4 1.2717250 1.5549146          1
#> 5     5 1.0875881 0.8073644          1
#> 6     6 0.7613945 1.4003619          1
#> 7     7 0.8112264 0.7146585          1
#> 8     8        NA 0.8896168          1
#> 9     9        NA 0.9628964          1
#> 10   10        NA 0.8967479          1
#> 11   11        NA 1.2184820          1
#> 12   12 0.9316589 1.3965922          1
#> 13   13 1.2087472 1.4174334          1
#> 14   14 0.9028159 1.1423251          1
#> 15   15 1.2048202 0.8792308          1
#> 16   16 0.7238298 1.2375374          1
#> 17   17 0.6230623 0.7110804          1
#> 18   18        NA 0.7677732          1
#> 19   19        NA 0.1976422          1
#> 20   20 0.8762446 1.0502577          1
#> 21   21 1.1249240 0.8514274          1
#> 22   22 1.2675924 1.1489850          1
#> 23   23        NA 1.3651986          1
#> 24   24 0.9553434 0.8390759          1
#> 25   25        NA 1.1532546          1
#> 26   26 1.3155066 0.9461813          1
#> 27   27 1.2612042 0.8731712          1
#> 28   28 0.5918123 1.0403336          1
#> 29   29 1.1684896 1.6133224          1
#> 30   30 0.9828671 0.7724430          1
#> 31   31 1.0799958 0.6858681          1
#> 32   32 0.9355941 1.0872821          1
#> 33   33 1.1632559 0.5429262          1
#> 34   34 0.7805200 0.8439154          1
#> 35   35 0.9768544 1.5090015          1
#> 36   36        NA 1.6143893          1
#> 37   37 1.3472988 1.5942960          1
#> 38   38 0.6568773 0.8470549          1
#> 39   39        NA 0.6837545          1
#> 40   40 1.2212239 1.2986398          1
#> 41   41 1.2864880 0.8118539          1
#> 42   42        NA 1.1336939          1
#> 43   43 0.4594725 0.5878462          1
#> 44   44 0.5845721 1.2200817          1
#> 45   45 0.9106955 1.1718582          1
#> 46   46 1.2202607 0.9538368          1
#> 47   47 0.8915700 1.4700893          1
#> 48   48 0.8323409 0.9825563          1
#> 49   49 0.9167595 1.4471590          1
#> 50   50        NA 1.0802731          1
#> 51   51 0.9924055 0.9068229          1
#> 52   52        NA 0.9545612          1
#> 53   53 0.9766896 1.0266948          1
#> 54   54 0.8182903 0.5648879          1
#> 55   55 0.8680391 1.2528943          1
#> 56   56 1.1622603 1.4080757          1
#> 57   57 0.7300234 0.5554054          1
#> 58   58 0.5299473 1.3910406          1
#> 59   59 0.9995415 1.0998741          1
#> 60   60 0.8855343 0.3378682          1
#> 61   61 1.5692673 1.2686032          1
#> 62   62 1.1194505 0.8286909          1
#> 63   63 1.2038222 1.2409222          1
#> 64   64 0.9498055 0.9546481          1
#> 65   65 0.8986885 0.9650248          1
#> 66   66 1.0180441 0.9063393          1
#> 67   67 1.0809267 0.9740704          1
#> 68   68 0.7522902 0.9065848          1
#> 69   69 1.1136363 0.8201634          1
#> 70   70 1.1158971 1.2529825          1
#> 71   71 1.1998959 1.2737243          1
#> 72   72        NA 1.0293355          1
#> 73   73        NA 0.8389646          1
#> 74   74 0.5882988 1.0305360          1
#> 75   75        NA 1.0443085          1
#> 76   76        NA 0.5994379          1
#> 77   77 0.7180541 1.3875779          1
#> 78   78 1.0494615 1.6051703          1
#> 79   79 1.3675578 0.8914314          1
#> 80   80 0.6851848 0.9570688          1
#> 81   81 0.9661553 0.7866097          1
#> 82   82 0.9018554 1.0704898          1
#> 83   83 1.1533638 0.8711406          1
#> 84   84 0.8660599 0.9783494          1
#> 85   85 1.1495121 1.0047674          1
#> 86   86 1.1334417 1.1970077          1
#> 87   87        NA 1.2684381          1
#> 88   88 0.6527250 1.1229250          1
#> 89   89 1.1716382 0.9888946          1
#> 90   90 0.8150936 1.0558335          1
#> 91   91        NA 0.3627065          1
#> 92   92 0.9715025 0.5584973          1
#> 93   93 1.0508421 0.8770825          1
#> 94   94 0.8572487 0.9307722          1
#> 95   95 0.7999584 1.0402970          1
#> 96   96 1.3168133 0.8478920          1
#> 97   97 1.1152843 1.6071179          1
#> 98   98 1.1629584 1.3368317          1
#> 99   99 1.1454333 1.2838368          1
#> 100 100 0.6426267 0.3593602          1
#> 101 101        NA 2.3379731          2
#> 102 102 1.8620249 1.8907751          2
#> 103 103 2.5041748 1.7648998          2
#> 104 104 2.0681950 1.7329191          2
#> 105 105 2.4083269 1.6805851          2
#> 106 106 2.1602995 2.2815185          2
#> 107 107        NA 1.7997334          2
#> 108 108 1.9024549 2.3012134          2
#> 109 109 1.7061162 2.1225733          2
#> 110 110 1.7143690 1.8597057          2
#> 111 111        NA 2.3662223          2
#> 112 112 1.8800083 2.1003274          2
#> 113 113 2.0576036 1.7425895          2
#> 114 114 1.9156546 2.0241533          2
#> 115 115 1.3820494 2.2449523          2
#> 116 116 1.6895363 1.9250520          2
#> 117 117 2.8984267 2.2142624          2
#> 118 118 2.1962313 2.2069640          2
#> 119 119 1.9053073 2.2968184          2
#> 120 120        NA 2.3218917          2
#> 121 121 1.8538162 1.6193428          2
#> 122 122        NA 2.3966051          2
#> 123 123 2.6067258 1.8308361          2
#> 124 124 1.7523284 2.5284983          2
#> 125 125 1.7116614 1.8050086          2
#> 126 126 2.0746458 2.1916355          2
#> 127 127 1.8058721 2.0424561          2
#> 128 128        NA 1.9786114          2
#> 129 129 2.1691453 2.2488115          2
#> 130 130 1.7390990 2.0560972          2
#> 131 131 1.8313768 2.4402487          2
#> 132 132 2.3702233 2.2713610          2
#> 133 133 2.2350456 1.8513455          2
#> 134 134 1.9131086 2.0745492          2
#> 135 135 2.1485858 1.6917286          2
#> 136 136 1.8397903 1.9868095          2
#> 137 137        NA 1.7210358          2
#> 138 138 2.1121438 1.9770568          2
#> 139 139 2.1450816 1.8920122          2
#> 140 140 1.3864942 2.0588144          2
#> 141 141 2.2977355 2.2990734          2
#> 142 142 1.7808735 2.1098857          2
#> 143 143        NA 2.2072693          2
#> 144 144 2.0903912 1.7371594          2
#> 145 145 2.1606212 1.8472690          2
#> 146 146 1.8474793 1.8111611          2
#> 147 147 2.5866082 1.9845955          2
#> 148 148        NA 1.4022232          2
#> 149 149 2.4315358 2.1440728          2
#> 150 150 1.9022325 2.0546802          2
#> 151 151        NA 2.4389173          2
#> 152 152 1.9868294 1.5496695          2
#> 153 153        NA 2.3359372          2
#> 154 154 2.0958042 1.6763650          2
#> 155 155 2.0581753 2.1016232          2
#> 156 156 2.1306925 1.9537538          2
#> 157 157 2.6135282 1.6808886          2
#> 158 158 1.7020738 1.9417543          2
#> 159 159        NA 1.8510442          2
#> 160 160 2.0624056 2.4953998          2
#> 161 161 1.8217511 2.3137556          2
#> 162 162 1.8302289 2.1718758          2
#> 163 163 1.3036584 1.5264623          2
#> 164 164 2.5048324 1.7900909          2
#> 165 165        NA 1.6852945          2
#> 166 166 2.1504616 2.6093329          2
#> 167 167 1.9818430 2.2021154          2
#> 168 168 2.0532717 2.3799972          2
#> 169 169 1.7828552 1.9958082          2
#> 170 170 1.7930694 1.7207907          2
#> 171 171        NA 1.7577553          2
#> 172 172 2.6278323 1.8332038          2
#> 173 173 1.7126483 1.8608480          2
#> 174 174        NA 1.3941428          2
#> 175 175        NA 1.9355310          2
#> 176 176 2.1272067 1.6039879          2
#> 177 177 2.2260604 1.7564217          2
#> 178 178 2.3867372 1.6356682          2
#> 179 179 2.3064552 1.6767653          2
#> 180 180 2.1020975 2.3042654          2
#> 181 181 2.0307487 2.1595073          2
#> 182 182 1.7230434 2.2225651          2
#> 183 183 2.5545802 1.9519232          2
#> 184 184 2.0538648 1.9565110          2
#> 185 185 2.2418804 2.5531507          2
#> 186 186        NA 1.6197489          2
#> 187 187        NA 2.0093655          2
#> 188 188 2.4446105 1.8539520          2
#> 189 189 2.0106854 1.9218304          2
#> 190 190 1.9313404 2.3454511          2
#> 191 191 1.6550787 1.7846144          2
#> 192 192 2.0800880 1.7571501          2
#> 193 193        NA 1.8237264          2
#> 194 194 2.3504407 1.7724747          2
#> 195 195 1.6888116 2.3768196          2
#> 196 196 1.6850968 1.8640973          2
#> 197 197        NA 1.8060815          2
#> 198 198 2.4203637 1.9130922          2
#> 199 199 2.1570277 1.9244142          2
#> 200 200        NA 1.6664871          2
#> 201 201 3.0731529 2.8700001          3
#> 202 202 3.0171582 3.0082190          3
#> 203 203 3.1173581 2.9384434          3
#> 204 204 3.3564895 2.8949256          3
#> 205 205 3.1251317 2.9640153          3
#> 206 206 3.0585434 2.7780897          3
#> 207 207 3.1236372 2.5417707          3
#> 208 208 3.1787130 3.1396116          3
#> 209 209 2.9756226 3.1923073          3
#> 210 210 3.2643807 3.2885633          3
#> 211 211 3.2834704 2.8652212          3
#> 212 212 3.7112744 2.3141763          3
#> 213 213 2.9087423 2.7617261          3
#> 214 214 3.1375262 2.4788684          3
#> 215 215 2.8702300 2.6666355          3
#> 216 216 2.7980972 3.1028367          3
#> 217 217 2.7952510 2.7799645          3
#> 218 218 2.8809721 2.7097246          3
#> 219 219 3.0440309 2.8643615          3
#> 220 220 3.2006797 3.1361236          3
#> 221 221        NA 2.7134745          3
#> 222 222 3.0510213 2.6875615          3
#> 223 223 2.9126469 3.1552784          3
#> 224 224 3.5596598 3.1126467          3
#> 225 225        NA 3.1075361          3
#> 226 226 2.2978407 3.2026778          3
#> 227 227 3.1680523 3.2744285          3
#> 228 228 3.2579012 2.8749737          3
#> 229 229 2.7457051 3.0127548          3
#> 230 230 3.6067869 3.5382316          3
#> 231 231 2.9925654 3.1421874          3
#> 232 232        NA 2.8346281          3
#> 233 233 3.1689863 2.9377670          3
#> 234 234 2.8075025 3.4235613          3
#> 235 235 2.9278217 2.7225772          3
#> 236 236 3.0052325 2.8964573          3
#> 237 237 3.0554486 2.7530494          3
#> 238 238 3.2563743 3.1086234          3
#> 239 239 2.3551744 3.2102883          3
#> 240 240 3.1701743 3.4327986          3
#> 241 241 3.0933061 3.3417475          3
#> 242 242 3.0823256 3.0512352          3
#> 243 243 3.0348222 2.9978522          3
#> 244 244 2.7685912 2.7030849          3
#> 245 245 3.5168759 2.9356090          3
#> 246 246        NA 2.8098520          3
#> 247 247 3.7581406 3.0039217          3
#> 248 248        NA 2.6980012          3
#> 249 249 3.4348772 2.8667372          3
#> 250 250 2.7012932 3.0661277          3
#> 251 251 3.0050520 3.1916703          3
#> 252 252 3.1125852 3.1741182          3
#> 253 253 3.3247468 2.6264539          3
#> 254 254 3.3552026 2.6426175          3
#> 255 255 2.4358438 2.9899534          3
#> 256 256        NA 3.0990201          3
#> 257 257        NA 2.8026318          3
#> 258 258 3.3092291 3.0157504          3
#> 259 259        NA 3.3602510          3
#> 260 260 3.2801487 2.9097563          3
#> 261 261 2.6426603 2.8344043          3
#> 262 262 2.4839423 3.2823573          3
#> 263 263 2.7101734 3.1192977          3
#> 264 264 3.0468409 3.7029313          3
#> 265 265 2.9035007 2.9468774          3
#> 266 266 3.1273582 2.9868588          3
#> 267 267        NA 3.0815766          3
#> 268 268        NA 3.7493447          3
#> 269 269 3.1424095 2.8095200          3
#> 270 270 3.0285418 2.9785644          3
#> 271 271 3.3779139 3.1220978          3
#> 272 272 3.1191926 3.3309822          3
#> 273 273 2.9070907 2.9002269          3
#> 274 274 3.2477746 3.0796830          3
#> 275 275 3.0913488 3.0489648          3
#> 276 276 2.5773115 2.7195973          3
#> 277 277 2.9030830 3.1556791          3
#> 278 278 3.3314268 2.9525021          3
#> 279 279 2.7678897 3.1605402          3
#> 280 280 3.2687042 2.6141713          3
#> 281 281 3.2940749 3.3118909          3
#> 282 282 2.6981451 2.9337446          3
#> 283 283 2.7913602 3.2123916          3
#> 284 284 2.8541379 2.9783152          3
#> 285 285 2.8928258 2.9411126          3
#> 286 286 3.3234634 2.9184465          3
#> 287 287 2.6521874 3.2379970          3
#> 288 288 3.0720950 3.2293857          3
#> 289 289 3.3574018 3.3707898          3
#> 290 290        NA 2.8634571          3
#> 291 291 3.3538744 3.4391118          3
#> 292 292 3.4096002 2.2934436          3
#> 293 293 3.1631850 2.6608450          3
#> 294 294 3.2173877 3.3945940          3
#> 295 295 3.2123791 3.3837785          3
#> 296 296        NA 3.3658718          3
#> 297 297        NA 2.2823909          3
#> 298 298 3.1640232 3.1317900          3
#> 299 299        NA 2.9066331          3
#> 300 300 2.8669408 2.9400033          3
#> 301 301 4.4987362 3.8433712          4
#> 302 302 3.8955264 4.0925435          4
#> 303 303 4.2600495 3.8415750          4
#> 304 304 4.3282169 4.1211208          4
#> 305 305 4.2968564 4.4119078          4
#> 306 306 4.2802008 3.9872260          4
#> 307 307 3.8758731 4.2691998          4
#> 308 308 3.9290013 3.0980971          4
#> 309 309 4.4269083 4.2341475          4
#> 310 310 4.0890704 4.0735434          4
#> 311 311 3.9529599 4.2972480          4
#> 312 312 4.3385934 4.2017527          4
#> 313 313 3.7932045 3.9316223          4
#> 314 314 3.9852661 4.6291640          4
#> 315 315        NA 4.0651434          4
#> 316 316 4.3968990 4.4840987          4
#> 317 317 3.7856942 3.2354875          4
#> 318 318 4.6604724 4.7724220          4
#> 319 319 3.9242018 3.8450303          4
#> 320 320        NA 3.8142975          4
#> 321 321 4.0129536 3.6643700          4
#> 322 322 3.8799658 4.5513590          4
#> 323 323 4.4817655 4.1925416          4
#> 324 324 4.2991666 3.9067288          4
#> 325 325        NA 4.0043022          4
#> 326 326 3.9165976 4.2208686          4
#> 327 327 3.9458812 3.9029252          4
#> 328 328 4.3773173 4.1166786          4
#> 329 329        NA 4.3315207          4
#> 330 330 3.7239215 3.9934414          4
#> 331 331 3.7126291 3.8188931          4
#> 332 332 4.5872390 3.6469470          4
#> 333 333        NA 4.1254675          4
#> 334 334        NA 4.2915293          4
#> 335 335 3.3261320 3.9893987          4
#> 336 336 4.2313437 4.1472543          4
#> 337 337 3.8241548 4.3705794          4
#> 338 338 4.3827729 4.0106399          4
#> 339 339        NA 4.0958624          4
#> 340 340 3.5911486 4.0666161          4
#> 341 341 3.7963050 4.1470494          4
#> 342 342 3.6158358 4.7190311          4
#> 343 343 3.5290964 3.7216764          4
#> 344 344 3.4294665 4.1671613          4
#> 345 345        NA 4.1930957          4
#> 346 346 4.0104696 3.5537047          4
#> 347 347 4.0998969 4.3982043          4
#> 348 348 3.5927781 3.7860669          4
#> 349 349        NA 3.6445659          4
#> 350 350 3.8299462 4.0230242          4
#> 351 351        NA 3.9101231          4
#> 352 352 3.9401977 4.0051635          4
#> 353 353        NA 3.7983180          4
#> 354 354 3.6304880 3.9218934          4
#> 355 355        NA 4.0341996          4
#> 356 356        NA 4.0973460          4
#> 357 357 3.6932548 3.9774262          4
#> 358 358 4.0313558 4.2532733          4
#> 359 359 3.9663110 4.2131834          4
#> 360 360 3.6604497 3.6818575          4
#> 361 361 3.7622883 4.4685182          4
#> 362 362 3.9202759 4.0309650          4
#> 363 363        NA 4.2500705          4
#> 364 364        NA 3.9314714          4
#> 365 365 4.5727158 3.9058266          4
#> 366 366 4.2122244 3.6775819          4
#> 367 367 3.5785777 3.9092479          4
#> 368 368        NA 4.0733848          4
#> 369 369 3.8660067 3.6245166          4
#> 370 370 3.9713799 3.4798236          4
#> 371 371 4.3752287 4.3835986          4
#> 372 372 4.1552326 3.6717836          4
#> 373 373 3.7368280 3.8632074          4
#> 374 374 3.8167969 4.0870828          4
#> 375 375        NA 4.0669130          4
#> 376 376 3.7162752 4.6960024          4
#> 377 377 4.2523796 3.7675778          4
#> 378 378 4.0127455 4.8424204          4
#> 379 379 4.2367215 3.7732118          4
#> 380 380 4.1176471 4.0687635          4
#> 381 381 4.1328639 4.0292582          4
#> 382 382        NA 4.2949105          4
#> 383 383 4.0745133 4.3552493          4
#> 384 384 4.3012980 4.2984675          4
#> 385 385        NA 3.8748337          4
#> 386 386 3.8938837 3.9311812          4
#> 387 387 4.1803381 4.2812417          4
#> 388 388        NA 4.0815121          4
#> 389 389        NA 3.8214488          4
#> 390 390 4.0512401 4.4494942          4
#> 391 391 3.8258409 3.8096867          4
#> 392 392        NA 3.9069814          4
#> 393 393        NA 4.4247908          4
#> 394 394 3.6297375 4.3082153          4
#> 395 395 3.8955157 3.5530251          4
#> 396 396 3.6755470 4.0293259          4
#> 397 397 4.1265667 3.9175874          4
#> 398 398 4.2822902 3.7536490          4
#> 399 399 4.3612089 3.7033786          4
#> 400 400 4.3330325 4.3407755          4
#> 401 401        NA 5.0803380          5
#> 402 402 4.9627467 4.5567265          5
#> 403 403 4.8666488 4.5292478          5
#> 404 404 5.0137159 4.9457954          5
#> 405 405        NA 5.0487823          5
#> 406 406        NA 4.8248764          5
#> 407 407 5.0506485 5.3852094          5
#> 408 408 4.8696474 5.3347439          5
#> 409 409 4.7004735 5.3101627          5
#> 410 410 5.0583034 5.2231632          5
#> 411 411 4.8716168 4.5928345          5
#> 412 412 4.9665046 4.7978057          5
#> 413 413 4.4059707 4.7640351          5
#> 414 414 5.0028791 5.1842518          5
#> 415 415 4.9812786 4.7084146          5
#> 416 416 4.9110280 5.0081117          5
#> 417 417 4.5818747 4.6041102          5
#> 418 418        NA 4.6665796          5
#> 419 419 5.0109160 5.1382756          5
#> 420 420        NA 5.3025631          5
#> 421 421 5.0885139 5.2387039          5
#> 422 422 4.7928235 4.6031034          5
#> 423 423 4.7081374 5.4410057          5
#> 424 424 4.9715161 5.0603654          5
#> 425 425        NA 5.1701246          5
#> 426 426 5.0988734 4.7800321          5
#> 427 427 5.0308920 5.3640369          5
#> 428 428        NA 4.8625057          5
#> 429 429 4.9892334 5.0833400          5
#> 430 430 4.5892465 5.1479813          5
#> 431 431 5.0638268 5.2703126          5
#> 432 432 4.7336339 4.9725280          5
#> 433 433 4.8924707 4.9711517          5
#> 434 434 4.6924132 5.2151689          5
#> 435 435 4.9594443 5.2159433          5
#> 436 436 4.8078181 5.0471858          5
#> 437 437        NA 4.9759724          5
#> 438 438 4.6122244 4.6711117          5
#> 439 439 5.2294156 5.3681100          5
#> 440 440 5.2563640 5.7411976          5
#> 441 441 4.8080244 4.9147741          5
#> 442 442 5.0728339 5.2952385          5
#> 443 443 4.9445622 4.8876740          5
#> 444 444        NA 5.0774456          5
#> 445 445 5.1372361 5.1384659          5
#> 446 446        NA 4.9783012          5
#> 447 447        NA 4.7346674          5
#> 448 448        NA 4.9805306          5
#> 449 449 4.9635730 4.9282876          5
#> 450 450 4.5473504 5.5313576          5
#> 451 451 5.5511910 4.8825753          5
#> 452 452        NA 4.9567748          5
#> 453 453 5.1958090 5.0725586          5
#> 454 454 4.9974391 5.2450239          5
#> 455 455 4.9325331 4.7358335          5
#> 456 456 5.3843360 4.4650513          5
#> 457 457 5.1638624 5.0511904          5
#> 458 458 4.7458807 4.8562428          5
#> 459 459 5.1151187 5.0097274          5
#> 460 460 4.7115745 5.3259087          5
#> 461 461        NA 5.5381876          5
#> 462 462 5.5262039 5.1353227          5
#> 463 463 4.9585941 5.4029550          5
#> 464 464 4.4217984 4.9665497          5
#> 465 465 4.9521876 5.1700103          5
#> 466 466        NA 5.2096165          5
#> 467 467 5.1855604 5.0647782          5
#> 468 468 5.4470240 4.9102591          5
#> 469 469 4.9165656 4.8083949          5
#> 470 470 4.9099189 4.2286375          5
#> 471 471 4.9074636 4.7024565          5
#> 472 472        NA 5.3893207          5
#> 473 473 5.1920051 4.8786414          5
#> 474 474 4.4594604 5.4819951          5
#> 475 475 4.7791682 6.0117527          5
#> 476 476 5.4715227 4.7360343          5
#> 477 477 5.4298181 4.9866868          5
#> 478 478 4.5133554 4.7059076          5
#> 479 479 4.9873730 4.8849450          5
#> 480 480 5.1400768 4.9934659          5
#> 481 481        NA 5.2563615          5
#> 482 482        NA 4.8399077          5
#> 483 483 4.9029314 5.1420572          5
#> 484 484 4.9260933 4.4094292          5
#> 485 485 4.6175954 4.6950461          5
#> 486 486 5.1741019 6.0972843          5
#> 487 487 5.0787340 4.9725088          5
#> 488 488 5.0364577 5.3090112          5
#> 489 489 5.0478358 4.9639331          5
#> 490 490 5.3926194 4.7955246          5
#> 491 491 5.4279329 5.2999146          5
#> 492 492 4.9152026 5.1109187          5
#> 493 493 5.3104722 4.9040571          5
#> 494 494 4.9620523 4.9027416          5
#> 495 495 4.8389075 4.9378332          5
#> 496 496        NA 4.7225500          5
#> 497 497        NA 5.5859490          5
#> 498 498 4.5997208 4.9345733          5
#> 499 499 4.8469297 5.1067024          5
#> 500 500        NA 4.5849097          5