Skip to contents

Classification approaches to estimating SM50

Usage

cluster_mods(
  dat,
  xvar,
  yvar,
  log = FALSE,
  method = c("mclust", "Somerton", "kmeans", "hclust", "infl_pt", "all"),
  plot = FALSE
)

Arguments

dat

data frame or matrix containing the data

xvar

Name of column (integer or double) of measurements for the x-axis variable (e.g., carapace width).

yvar

Name of column (integer or double) of measurements for the y-axis variable (e.g., claw height).

log

Boolean; should both variables be log-transformed before performing the regression? Defaults to FALSE.

method

Classification method to use. A single string or vector containing one or more of c("mclust", "Somerton", "kmeans", "hclust", "infl_pt"), or "all" to return the results of all methods for comparison.

plot

Boolean; optionally display a plot of the input data shaded according to the maturity classifications from the specified method(s). Defaults to FALSE.

Value

A data frame with each point classified according to the specified method(s).

Examples

set.seed(12)
fc <- fake_crustaceans(n = 100, L50 = 100, allo_params = c(1, 0.2, 1.1, 0.2))
cluster_mods(fc, xvar = "x", yvar = "y", method = c("kmeans"))
#>          xvar     yvar pred_mat method
#> 1    75.38865 15.23920        0 kmeans
#> 2   136.54339 45.87786        1 kmeans
#> 3    85.86511 16.92335        0 kmeans
#> 4    86.59990 16.94732        0 kmeans
#> 5    65.04716 13.22994        0 kmeans
#> 6    99.55408 32.83798        0 kmeans
#> 7    98.69303 19.95659        0 kmeans
#> 8    92.43490 16.95435        0 kmeans
#> 9   102.87072 33.10017        0 kmeans
#> 10  113.56030 37.01815        1 kmeans
#> 11   89.44561 16.65966        0 kmeans
#> 12   79.12235 16.67990        0 kmeans
#> 13   89.40867 16.59422        0 kmeans
#> 14  105.23904 33.84619        1 kmeans
#> 15  101.95168 19.91354        0 kmeans
#> 16   90.93071 17.80021        0 kmeans
#> 17  128.77758 40.23859        1 kmeans
#> 18  111.81025 38.40130        1 kmeans
#> 19  115.13936 36.00876        1 kmeans
#> 20   99.13390 20.54175        0 kmeans
#> 21  109.47283 34.12359        1 kmeans
#> 22  145.14403 47.01046        1 kmeans
#> 23  125.23958 39.72831        1 kmeans
#> 24   98.95082 30.88344        0 kmeans
#> 25   84.49510 17.39401        0 kmeans
#> 26   99.65230 20.61357        0 kmeans
#> 27  101.01789 19.53285        0 kmeans
#> 28  107.62245 34.70028        1 kmeans
#> 29  107.91600 37.02303        1 kmeans
#> 30  112.24129 34.84253        1 kmeans
#> 31  118.47962 35.78884        1 kmeans
#> 32  146.44072 45.60869        1 kmeans
#> 33   94.17943 18.30612        0 kmeans
#> 34   83.59016 16.46103        0 kmeans
#> 35   97.55087 19.09151        0 kmeans
#> 36   95.29717 18.30308        0 kmeans
#> 37  110.49568 35.19487        1 kmeans
#> 38   95.40975 19.62598        0 kmeans
#> 39  120.96211 41.17689        1 kmeans
#> 40   84.91098 17.85249        0 kmeans
#> 41  107.09968 36.41382        1 kmeans
#> 42   81.88014 16.17739        0 kmeans
#> 43  116.56269 40.69230        1 kmeans
#> 44   73.08749 14.94097        0 kmeans
#> 45   98.82993 31.92601        0 kmeans
#> 46  113.98932 37.07901        1 kmeans
#> 47   85.45893 17.69469        0 kmeans
#> 48  108.79996 22.12360        0 kmeans
#> 49  119.62907 36.32811        1 kmeans
#> 50   95.14802 18.34427        0 kmeans
#> 51  104.14630 18.36215        0 kmeans
#> 52  102.74659 32.58723        0 kmeans
#> 53  114.13654 38.72763        1 kmeans
#> 54  145.40670 45.19577        1 kmeans
#> 55   83.98220 25.13179        0 kmeans
#> 56  119.69304 41.47791        1 kmeans
#> 57  115.78499 37.62930        1 kmeans
#> 58   78.71454 22.97434        0 kmeans
#> 59   99.99923 20.76300        0 kmeans
#> 60  111.28409 35.69627        1 kmeans
#> 61  113.13093 36.73550        1 kmeans
#> 62  124.88841 40.34772        1 kmeans
#> 63  122.11537 39.69475        1 kmeans
#> 64  108.94258 33.34561        1 kmeans
#> 65  121.68650 39.48582        1 kmeans
#> 66  121.93580 41.68790        1 kmeans
#> 67  144.08211 46.75849        1 kmeans
#> 68   62.01480 13.20176        0 kmeans
#> 69  124.42241 39.51942        1 kmeans
#> 70  127.90123 40.06073        1 kmeans
#> 71   94.49199 31.06592        0 kmeans
#> 72  110.00640 33.61806        1 kmeans
#> 73   96.41187 19.98987        0 kmeans
#> 74  101.34961 19.74040        0 kmeans
#> 75  102.93379 20.95561        0 kmeans
#> 76   92.32324 18.15865        0 kmeans
#> 77   79.57892 15.65607        0 kmeans
#> 78   97.32099 19.78192        0 kmeans
#> 79  115.33512 39.78074        1 kmeans
#> 80  101.44063 30.70302        0 kmeans
#> 81  105.08516 20.90106        0 kmeans
#> 82   79.51881 15.62635        0 kmeans
#> 83  100.95779 32.92634        0 kmeans
#> 84  128.28932 38.88932        1 kmeans
#> 85  104.53241 20.31787        0 kmeans
#> 86  122.94313 37.65059        1 kmeans
#> 87  101.46551 19.94880        0 kmeans
#> 88  127.27418 43.76838        1 kmeans
#> 89   94.16222 18.31404        0 kmeans
#> 90   85.73203 16.49705        0 kmeans
#> 91  112.52897 36.28876        1 kmeans
#> 92   85.30652 16.89971        0 kmeans
#> 93  122.95119 40.92803        1 kmeans
#> 94  107.58525 35.14126        1 kmeans
#> 95  125.67406 40.66184        1 kmeans
#> 96   98.15421 20.05136        0 kmeans
#> 97  114.04563 35.65158        1 kmeans
#> 98   91.10524 19.66188        0 kmeans
#> 99  100.21973 33.14270        0 kmeans
#> 100  84.85402 17.61139        0 kmeans
cluster_mods(fc, xvar = "x", yvar = "y", method = c("all"), plot = TRUE)

#>          xvar     yvar pred_mat   method
#> 1    75.38865 15.23920        0  infl_pt
#> 2   136.54339 45.87786        1  infl_pt
#> 3    85.86511 16.92335        0  infl_pt
#> 4    86.59990 16.94732        0  infl_pt
#> 5    65.04716 13.22994        0  infl_pt
#> 6    99.55408 32.83798        1  infl_pt
#> 7    98.69303 19.95659        0  infl_pt
#> 8    92.43490 16.95435        0  infl_pt
#> 9   102.87072 33.10017        1  infl_pt
#> 10  113.56030 37.01815        1  infl_pt
#> 11   89.44561 16.65966        0  infl_pt
#> 12   79.12235 16.67990        0  infl_pt
#> 13   89.40867 16.59422        0  infl_pt
#> 14  105.23904 33.84619        1  infl_pt
#> 15  101.95168 19.91354        0  infl_pt
#> 16   90.93071 17.80021        0  infl_pt
#> 17  128.77758 40.23859        1  infl_pt
#> 18  111.81025 38.40130        1  infl_pt
#> 19  115.13936 36.00876        1  infl_pt
#> 20   99.13390 20.54175        0  infl_pt
#> 21  109.47283 34.12359        1  infl_pt
#> 22  145.14403 47.01046        1  infl_pt
#> 23  125.23958 39.72831        1  infl_pt
#> 24   98.95082 30.88344        1  infl_pt
#> 25   84.49510 17.39401        0  infl_pt
#> 26   99.65230 20.61357        0  infl_pt
#> 27  101.01789 19.53285        0  infl_pt
#> 28  107.62245 34.70028        1  infl_pt
#> 29  107.91600 37.02303        1  infl_pt
#> 30  112.24129 34.84253        1  infl_pt
#> 31  118.47962 35.78884        1  infl_pt
#> 32  146.44072 45.60869        1  infl_pt
#> 33   94.17943 18.30612        0  infl_pt
#> 34   83.59016 16.46103        0  infl_pt
#> 35   97.55087 19.09151        0  infl_pt
#> 36   95.29717 18.30308        0  infl_pt
#> 37  110.49568 35.19487        1  infl_pt
#> 38   95.40975 19.62598        0  infl_pt
#> 39  120.96211 41.17689        1  infl_pt
#> 40   84.91098 17.85249        0  infl_pt
#> 41  107.09968 36.41382        1  infl_pt
#> 42   81.88014 16.17739        0  infl_pt
#> 43  116.56269 40.69230        1  infl_pt
#> 44   73.08749 14.94097        0  infl_pt
#> 45   98.82993 31.92601        1  infl_pt
#> 46  113.98932 37.07901        1  infl_pt
#> 47   85.45893 17.69469        0  infl_pt
#> 48  108.79996 22.12360        0  infl_pt
#> 49  119.62907 36.32811        1  infl_pt
#> 50   95.14802 18.34427        0  infl_pt
#> 51  104.14630 18.36215        0  infl_pt
#> 52  102.74659 32.58723        1  infl_pt
#> 53  114.13654 38.72763        1  infl_pt
#> 54  145.40670 45.19577        1  infl_pt
#> 55   83.98220 25.13179        1  infl_pt
#> 56  119.69304 41.47791        1  infl_pt
#> 57  115.78499 37.62930        1  infl_pt
#> 58   78.71454 22.97434        1  infl_pt
#> 59   99.99923 20.76300        0  infl_pt
#> 60  111.28409 35.69627        1  infl_pt
#> 61  113.13093 36.73550        1  infl_pt
#> 62  124.88841 40.34772        1  infl_pt
#> 63  122.11537 39.69475        1  infl_pt
#> 64  108.94258 33.34561        1  infl_pt
#> 65  121.68650 39.48582        1  infl_pt
#> 66  121.93580 41.68790        1  infl_pt
#> 67  144.08211 46.75849        1  infl_pt
#> 68   62.01480 13.20176        0  infl_pt
#> 69  124.42241 39.51942        1  infl_pt
#> 70  127.90123 40.06073        1  infl_pt
#> 71   94.49199 31.06592        1  infl_pt
#> 72  110.00640 33.61806        1  infl_pt
#> 73   96.41187 19.98987        0  infl_pt
#> 74  101.34961 19.74040        0  infl_pt
#> 75  102.93379 20.95561        0  infl_pt
#> 76   92.32324 18.15865        0  infl_pt
#> 77   79.57892 15.65607        0  infl_pt
#> 78   97.32099 19.78192        0  infl_pt
#> 79  115.33512 39.78074        1  infl_pt
#> 80  101.44063 30.70302        1  infl_pt
#> 81  105.08516 20.90106        0  infl_pt
#> 82   79.51881 15.62635        0  infl_pt
#> 83  100.95779 32.92634        1  infl_pt
#> 84  128.28932 38.88932        1  infl_pt
#> 85  104.53241 20.31787        0  infl_pt
#> 86  122.94313 37.65059        1  infl_pt
#> 87  101.46551 19.94880        0  infl_pt
#> 88  127.27418 43.76838        1  infl_pt
#> 89   94.16222 18.31404        0  infl_pt
#> 90   85.73203 16.49705        0  infl_pt
#> 91  112.52897 36.28876        1  infl_pt
#> 92   85.30652 16.89971        0  infl_pt
#> 93  122.95119 40.92803        1  infl_pt
#> 94  107.58525 35.14126        1  infl_pt
#> 95  125.67406 40.66184        1  infl_pt
#> 96   98.15421 20.05136        0  infl_pt
#> 97  114.04563 35.65158        1  infl_pt
#> 98   91.10524 19.66188        0  infl_pt
#> 99  100.21973 33.14270        1  infl_pt
#> 100  84.85402 17.61139        0  infl_pt
#> 101  75.38865 15.23920        0   kmeans
#> 102 136.54339 45.87786        1   kmeans
#> 103  85.86511 16.92335        0   kmeans
#> 104  86.59990 16.94732        0   kmeans
#> 105  65.04716 13.22994        0   kmeans
#> 106  99.55408 32.83798        0   kmeans
#> 107  98.69303 19.95659        0   kmeans
#> 108  92.43490 16.95435        0   kmeans
#> 109 102.87072 33.10017        0   kmeans
#> 110 113.56030 37.01815        1   kmeans
#> 111  89.44561 16.65966        0   kmeans
#> 112  79.12235 16.67990        0   kmeans
#> 113  89.40867 16.59422        0   kmeans
#> 114 105.23904 33.84619        1   kmeans
#> 115 101.95168 19.91354        0   kmeans
#> 116  90.93071 17.80021        0   kmeans
#> 117 128.77758 40.23859        1   kmeans
#> 118 111.81025 38.40130        1   kmeans
#> 119 115.13936 36.00876        1   kmeans
#> 120  99.13390 20.54175        0   kmeans
#> 121 109.47283 34.12359        1   kmeans
#> 122 145.14403 47.01046        1   kmeans
#> 123 125.23958 39.72831        1   kmeans
#> 124  98.95082 30.88344        0   kmeans
#> 125  84.49510 17.39401        0   kmeans
#> 126  99.65230 20.61357        0   kmeans
#> 127 101.01789 19.53285        0   kmeans
#> 128 107.62245 34.70028        1   kmeans
#> 129 107.91600 37.02303        1   kmeans
#> 130 112.24129 34.84253        1   kmeans
#> 131 118.47962 35.78884        1   kmeans
#> 132 146.44072 45.60869        1   kmeans
#> 133  94.17943 18.30612        0   kmeans
#> 134  83.59016 16.46103        0   kmeans
#> 135  97.55087 19.09151        0   kmeans
#> 136  95.29717 18.30308        0   kmeans
#> 137 110.49568 35.19487        1   kmeans
#> 138  95.40975 19.62598        0   kmeans
#> 139 120.96211 41.17689        1   kmeans
#> 140  84.91098 17.85249        0   kmeans
#> 141 107.09968 36.41382        1   kmeans
#> 142  81.88014 16.17739        0   kmeans
#> 143 116.56269 40.69230        1   kmeans
#> 144  73.08749 14.94097        0   kmeans
#> 145  98.82993 31.92601        0   kmeans
#> 146 113.98932 37.07901        1   kmeans
#> 147  85.45893 17.69469        0   kmeans
#> 148 108.79996 22.12360        0   kmeans
#> 149 119.62907 36.32811        1   kmeans
#> 150  95.14802 18.34427        0   kmeans
#> 151 104.14630 18.36215        0   kmeans
#> 152 102.74659 32.58723        0   kmeans
#> 153 114.13654 38.72763        1   kmeans
#> 154 145.40670 45.19577        1   kmeans
#> 155  83.98220 25.13179        0   kmeans
#> 156 119.69304 41.47791        1   kmeans
#> 157 115.78499 37.62930        1   kmeans
#> 158  78.71454 22.97434        0   kmeans
#> 159  99.99923 20.76300        0   kmeans
#> 160 111.28409 35.69627        1   kmeans
#> 161 113.13093 36.73550        1   kmeans
#> 162 124.88841 40.34772        1   kmeans
#> 163 122.11537 39.69475        1   kmeans
#> 164 108.94258 33.34561        1   kmeans
#> 165 121.68650 39.48582        1   kmeans
#> 166 121.93580 41.68790        1   kmeans
#> 167 144.08211 46.75849        1   kmeans
#> 168  62.01480 13.20176        0   kmeans
#> 169 124.42241 39.51942        1   kmeans
#> 170 127.90123 40.06073        1   kmeans
#> 171  94.49199 31.06592        0   kmeans
#> 172 110.00640 33.61806        1   kmeans
#> 173  96.41187 19.98987        0   kmeans
#> 174 101.34961 19.74040        0   kmeans
#> 175 102.93379 20.95561        0   kmeans
#> 176  92.32324 18.15865        0   kmeans
#> 177  79.57892 15.65607        0   kmeans
#> 178  97.32099 19.78192        0   kmeans
#> 179 115.33512 39.78074        1   kmeans
#> 180 101.44063 30.70302        0   kmeans
#> 181 105.08516 20.90106        0   kmeans
#> 182  79.51881 15.62635        0   kmeans
#> 183 100.95779 32.92634        0   kmeans
#> 184 128.28932 38.88932        1   kmeans
#> 185 104.53241 20.31787        0   kmeans
#> 186 122.94313 37.65059        1   kmeans
#> 187 101.46551 19.94880        0   kmeans
#> 188 127.27418 43.76838        1   kmeans
#> 189  94.16222 18.31404        0   kmeans
#> 190  85.73203 16.49705        0   kmeans
#> 191 112.52897 36.28876        1   kmeans
#> 192  85.30652 16.89971        0   kmeans
#> 193 122.95119 40.92803        1   kmeans
#> 194 107.58525 35.14126        1   kmeans
#> 195 125.67406 40.66184        1   kmeans
#> 196  98.15421 20.05136        0   kmeans
#> 197 114.04563 35.65158        1   kmeans
#> 198  91.10524 19.66188        0   kmeans
#> 199 100.21973 33.14270        0   kmeans
#> 200  84.85402 17.61139        0   kmeans
#> 201  75.38865 15.23920        0   hclust
#> 202 136.54339 45.87786        1   hclust
#> 203  85.86511 16.92335        0   hclust
#> 204  86.59990 16.94732        0   hclust
#> 205  65.04716 13.22994        0   hclust
#> 206  99.55408 32.83798        1   hclust
#> 207  98.69303 19.95659        0   hclust
#> 208  92.43490 16.95435        0   hclust
#> 209 102.87072 33.10017        1   hclust
#> 210 113.56030 37.01815        1   hclust
#> 211  89.44561 16.65966        0   hclust
#> 212  79.12235 16.67990        0   hclust
#> 213  89.40867 16.59422        0   hclust
#> 214 105.23904 33.84619        1   hclust
#> 215 101.95168 19.91354        0   hclust
#> 216  90.93071 17.80021        0   hclust
#> 217 128.77758 40.23859        1   hclust
#> 218 111.81025 38.40130        1   hclust
#> 219 115.13936 36.00876        1   hclust
#> 220  99.13390 20.54175        0   hclust
#> 221 109.47283 34.12359        1   hclust
#> 222 145.14403 47.01046        1   hclust
#> 223 125.23958 39.72831        1   hclust
#> 224  98.95082 30.88344        1   hclust
#> 225  84.49510 17.39401        0   hclust
#> 226  99.65230 20.61357        0   hclust
#> 227 101.01789 19.53285        0   hclust
#> 228 107.62245 34.70028        1   hclust
#> 229 107.91600 37.02303        1   hclust
#> 230 112.24129 34.84253        1   hclust
#> 231 118.47962 35.78884        1   hclust
#> 232 146.44072 45.60869        1   hclust
#> 233  94.17943 18.30612        0   hclust
#> 234  83.59016 16.46103        0   hclust
#> 235  97.55087 19.09151        0   hclust
#> 236  95.29717 18.30308        0   hclust
#> 237 110.49568 35.19487        1   hclust
#> 238  95.40975 19.62598        0   hclust
#> 239 120.96211 41.17689        1   hclust
#> 240  84.91098 17.85249        0   hclust
#> 241 107.09968 36.41382        1   hclust
#> 242  81.88014 16.17739        0   hclust
#> 243 116.56269 40.69230        1   hclust
#> 244  73.08749 14.94097        0   hclust
#> 245  98.82993 31.92601        1   hclust
#> 246 113.98932 37.07901        1   hclust
#> 247  85.45893 17.69469        0   hclust
#> 248 108.79996 22.12360        0   hclust
#> 249 119.62907 36.32811        1   hclust
#> 250  95.14802 18.34427        0   hclust
#> 251 104.14630 18.36215        0   hclust
#> 252 102.74659 32.58723        1   hclust
#> 253 114.13654 38.72763        1   hclust
#> 254 145.40670 45.19577        1   hclust
#> 255  83.98220 25.13179        0   hclust
#> 256 119.69304 41.47791        1   hclust
#> 257 115.78499 37.62930        1   hclust
#> 258  78.71454 22.97434        0   hclust
#> 259  99.99923 20.76300        0   hclust
#> 260 111.28409 35.69627        1   hclust
#> 261 113.13093 36.73550        1   hclust
#> 262 124.88841 40.34772        1   hclust
#> 263 122.11537 39.69475        1   hclust
#> 264 108.94258 33.34561        1   hclust
#> 265 121.68650 39.48582        1   hclust
#> 266 121.93580 41.68790        1   hclust
#> 267 144.08211 46.75849        1   hclust
#> 268  62.01480 13.20176        0   hclust
#> 269 124.42241 39.51942        1   hclust
#> 270 127.90123 40.06073        1   hclust
#> 271  94.49199 31.06592        1   hclust
#> 272 110.00640 33.61806        1   hclust
#> 273  96.41187 19.98987        0   hclust
#> 274 101.34961 19.74040        0   hclust
#> 275 102.93379 20.95561        0   hclust
#> 276  92.32324 18.15865        0   hclust
#> 277  79.57892 15.65607        0   hclust
#> 278  97.32099 19.78192        0   hclust
#> 279 115.33512 39.78074        1   hclust
#> 280 101.44063 30.70302        1   hclust
#> 281 105.08516 20.90106        0   hclust
#> 282  79.51881 15.62635        0   hclust
#> 283 100.95779 32.92634        1   hclust
#> 284 128.28932 38.88932        1   hclust
#> 285 104.53241 20.31787        0   hclust
#> 286 122.94313 37.65059        1   hclust
#> 287 101.46551 19.94880        0   hclust
#> 288 127.27418 43.76838        1   hclust
#> 289  94.16222 18.31404        0   hclust
#> 290  85.73203 16.49705        0   hclust
#> 291 112.52897 36.28876        1   hclust
#> 292  85.30652 16.89971        0   hclust
#> 293 122.95119 40.92803        1   hclust
#> 294 107.58525 35.14126        1   hclust
#> 295 125.67406 40.66184        1   hclust
#> 296  98.15421 20.05136        0   hclust
#> 297 114.04563 35.65158        1   hclust
#> 298  91.10524 19.66188        0   hclust
#> 299 100.21973 33.14270        1   hclust
#> 300  84.85402 17.61139        0   hclust
#> 301  75.38865 15.23920        0 Somerton
#> 302 136.54339 45.87786        1 Somerton
#> 303  85.86511 16.92335        0 Somerton
#> 304  86.59990 16.94732        0 Somerton
#> 305  65.04716 13.22994        0 Somerton
#> 306  99.55408 32.83798        1 Somerton
#> 307  98.69303 19.95659        0 Somerton
#> 308  92.43490 16.95435        0 Somerton
#> 309 102.87072 33.10017        1 Somerton
#> 310 113.56030 37.01815        1 Somerton
#> 311  89.44561 16.65966        0 Somerton
#> 312  79.12235 16.67990        0 Somerton
#> 313  89.40867 16.59422        0 Somerton
#> 314 105.23904 33.84619        1 Somerton
#> 315 101.95168 19.91354        0 Somerton
#> 316  90.93071 17.80021        0 Somerton
#> 317 128.77758 40.23859        1 Somerton
#> 318 111.81025 38.40130        1 Somerton
#> 319 115.13936 36.00876        1 Somerton
#> 320  99.13390 20.54175        0 Somerton
#> 321 109.47283 34.12359        1 Somerton
#> 322 145.14403 47.01046        1 Somerton
#> 323 125.23958 39.72831        1 Somerton
#> 324  98.95082 30.88344        1 Somerton
#> 325  84.49510 17.39401        0 Somerton
#> 326  99.65230 20.61357        0 Somerton
#> 327 101.01789 19.53285        0 Somerton
#> 328 107.62245 34.70028        1 Somerton
#> 329 107.91600 37.02303        1 Somerton
#> 330 112.24129 34.84253        1 Somerton
#> 331 118.47962 35.78884        1 Somerton
#> 332 146.44072 45.60869        1 Somerton
#> 333  94.17943 18.30612        0 Somerton
#> 334  83.59016 16.46103        0 Somerton
#> 335  97.55087 19.09151        0 Somerton
#> 336  95.29717 18.30308        0 Somerton
#> 337 110.49568 35.19487        1 Somerton
#> 338  95.40975 19.62598        0 Somerton
#> 339 120.96211 41.17689        1 Somerton
#> 340  84.91098 17.85249        0 Somerton
#> 341 107.09968 36.41382        1 Somerton
#> 342  81.88014 16.17739        0 Somerton
#> 343 116.56269 40.69230        1 Somerton
#> 344  73.08749 14.94097        0 Somerton
#> 345  98.82993 31.92601        1 Somerton
#> 346 113.98932 37.07901        1 Somerton
#> 347  85.45893 17.69469        0 Somerton
#> 348 108.79996 22.12360        0 Somerton
#> 349 119.62907 36.32811        1 Somerton
#> 350  95.14802 18.34427        0 Somerton
#> 351 104.14630 18.36215        0 Somerton
#> 352 102.74659 32.58723        1 Somerton
#> 353 114.13654 38.72763        1 Somerton
#> 354 145.40670 45.19577        1 Somerton
#> 355  83.98220 25.13179        0 Somerton
#> 356 119.69304 41.47791        1 Somerton
#> 357 115.78499 37.62930        1 Somerton
#> 358  78.71454 22.97434        0 Somerton
#> 359  99.99923 20.76300        0 Somerton
#> 360 111.28409 35.69627        1 Somerton
#> 361 113.13093 36.73550        1 Somerton
#> 362 124.88841 40.34772        1 Somerton
#> 363 122.11537 39.69475        1 Somerton
#> 364 108.94258 33.34561        1 Somerton
#> 365 121.68650 39.48582        1 Somerton
#> 366 121.93580 41.68790        1 Somerton
#> 367 144.08211 46.75849        1 Somerton
#> 368  62.01480 13.20176        0 Somerton
#> 369 124.42241 39.51942        1 Somerton
#> 370 127.90123 40.06073        1 Somerton
#> 371  94.49199 31.06592        1 Somerton
#> 372 110.00640 33.61806        1 Somerton
#> 373  96.41187 19.98987        0 Somerton
#> 374 101.34961 19.74040        0 Somerton
#> 375 102.93379 20.95561        0 Somerton
#> 376  92.32324 18.15865        0 Somerton
#> 377  79.57892 15.65607        0 Somerton
#> 378  97.32099 19.78192        0 Somerton
#> 379 115.33512 39.78074        1 Somerton
#> 380 101.44063 30.70302        1 Somerton
#> 381 105.08516 20.90106        0 Somerton
#> 382  79.51881 15.62635        0 Somerton
#> 383 100.95779 32.92634        1 Somerton
#> 384 128.28932 38.88932        1 Somerton
#> 385 104.53241 20.31787        0 Somerton
#> 386 122.94313 37.65059        1 Somerton
#> 387 101.46551 19.94880        0 Somerton
#> 388 127.27418 43.76838        1 Somerton
#> 389  94.16222 18.31404        0 Somerton
#> 390  85.73203 16.49705        0 Somerton
#> 391 112.52897 36.28876        1 Somerton
#> 392  85.30652 16.89971        0 Somerton
#> 393 122.95119 40.92803        1 Somerton
#> 394 107.58525 35.14126        1 Somerton
#> 395 125.67406 40.66184        1 Somerton
#> 396  98.15421 20.05136        0 Somerton
#> 397 114.04563 35.65158        1 Somerton
#> 398  91.10524 19.66188        0 Somerton
#> 399 100.21973 33.14270        1 Somerton
#> 400  84.85402 17.61139        0 Somerton
#> 401  75.38865 15.23920        0   mclust
#> 402 136.54339 45.87786        1   mclust
#> 403  85.86511 16.92335        0   mclust
#> 404  86.59990 16.94732        0   mclust
#> 405  65.04716 13.22994        0   mclust
#> 406  99.55408 32.83798        1   mclust
#> 407  98.69303 19.95659        0   mclust
#> 408  92.43490 16.95435        0   mclust
#> 409 102.87072 33.10017        1   mclust
#> 410 113.56030 37.01815        1   mclust
#> 411  89.44561 16.65966        0   mclust
#> 412  79.12235 16.67990        0   mclust
#> 413  89.40867 16.59422        0   mclust
#> 414 105.23904 33.84619        1   mclust
#> 415 101.95168 19.91354        0   mclust
#> 416  90.93071 17.80021        0   mclust
#> 417 128.77758 40.23859        1   mclust
#> 418 111.81025 38.40130        1   mclust
#> 419 115.13936 36.00876        1   mclust
#> 420  99.13390 20.54175        0   mclust
#> 421 109.47283 34.12359        1   mclust
#> 422 145.14403 47.01046        1   mclust
#> 423 125.23958 39.72831        1   mclust
#> 424  98.95082 30.88344        1   mclust
#> 425  84.49510 17.39401        0   mclust
#> 426  99.65230 20.61357        0   mclust
#> 427 101.01789 19.53285        0   mclust
#> 428 107.62245 34.70028        1   mclust
#> 429 107.91600 37.02303        1   mclust
#> 430 112.24129 34.84253        1   mclust
#> 431 118.47962 35.78884        1   mclust
#> 432 146.44072 45.60869        1   mclust
#> 433  94.17943 18.30612        0   mclust
#> 434  83.59016 16.46103        0   mclust
#> 435  97.55087 19.09151        0   mclust
#> 436  95.29717 18.30308        0   mclust
#> 437 110.49568 35.19487        1   mclust
#> 438  95.40975 19.62598        0   mclust
#> 439 120.96211 41.17689        1   mclust
#> 440  84.91098 17.85249        0   mclust
#> 441 107.09968 36.41382        1   mclust
#> 442  81.88014 16.17739        0   mclust
#> 443 116.56269 40.69230        1   mclust
#> 444  73.08749 14.94097        0   mclust
#> 445  98.82993 31.92601        1   mclust
#> 446 113.98932 37.07901        1   mclust
#> 447  85.45893 17.69469        0   mclust
#> 448 108.79996 22.12360        0   mclust
#> 449 119.62907 36.32811        1   mclust
#> 450  95.14802 18.34427        0   mclust
#> 451 104.14630 18.36215        0   mclust
#> 452 102.74659 32.58723        1   mclust
#> 453 114.13654 38.72763        1   mclust
#> 454 145.40670 45.19577        1   mclust
#> 455  83.98220 25.13179        1   mclust
#> 456 119.69304 41.47791        1   mclust
#> 457 115.78499 37.62930        1   mclust
#> 458  78.71454 22.97434        1   mclust
#> 459  99.99923 20.76300        0   mclust
#> 460 111.28409 35.69627        1   mclust
#> 461 113.13093 36.73550        1   mclust
#> 462 124.88841 40.34772        1   mclust
#> 463 122.11537 39.69475        1   mclust
#> 464 108.94258 33.34561        1   mclust
#> 465 121.68650 39.48582        1   mclust
#> 466 121.93580 41.68790        1   mclust
#> 467 144.08211 46.75849        1   mclust
#> 468  62.01480 13.20176        0   mclust
#> 469 124.42241 39.51942        1   mclust
#> 470 127.90123 40.06073        1   mclust
#> 471  94.49199 31.06592        1   mclust
#> 472 110.00640 33.61806        1   mclust
#> 473  96.41187 19.98987        0   mclust
#> 474 101.34961 19.74040        0   mclust
#> 475 102.93379 20.95561        0   mclust
#> 476  92.32324 18.15865        0   mclust
#> 477  79.57892 15.65607        0   mclust
#> 478  97.32099 19.78192        0   mclust
#> 479 115.33512 39.78074        1   mclust
#> 480 101.44063 30.70302        1   mclust
#> 481 105.08516 20.90106        0   mclust
#> 482  79.51881 15.62635        0   mclust
#> 483 100.95779 32.92634        1   mclust
#> 484 128.28932 38.88932        1   mclust
#> 485 104.53241 20.31787        0   mclust
#> 486 122.94313 37.65059        1   mclust
#> 487 101.46551 19.94880        0   mclust
#> 488 127.27418 43.76838        1   mclust
#> 489  94.16222 18.31404        0   mclust
#> 490  85.73203 16.49705        0   mclust
#> 491 112.52897 36.28876        1   mclust
#> 492  85.30652 16.89971        0   mclust
#> 493 122.95119 40.92803        1   mclust
#> 494 107.58525 35.14126        1   mclust
#> 495 125.67406 40.66184        1   mclust
#> 496  98.15421 20.05136        0   mclust
#> 497 114.04563 35.65158        1   mclust
#> 498  91.10524 19.66188        0   mclust
#> 499 100.21973 33.14270        1   mclust
#> 500  84.85402 17.61139        0   mclust