Skip to contents

The dataset is converted into a three-column long format with columns s for subject, p for predicate and o for object.

Usage

dataset_to_triples(x, idcol = NULL)

Arguments

x

An R object that contains the data of the dataset (a data.frame or inherited from data.frame), for example, dataset_df().

idcol

The identifier column. If idcol is NULL it attempts to use the row.names(df) as an idcol.

Value

The long form version of the original dataset, retaining the attributes and class.

Examples

dataset_to_triples(iris_dataset)
#>       s            p    o
#> 1     1        rowid   #1
#> 2     2        rowid   #2
#> 3     3        rowid   #3
#> 4     4        rowid   #4
#> 5     5        rowid   #5
#> 6     6        rowid   #6
#> 7     7        rowid   #7
#> 8     8        rowid   #8
#> 9     9        rowid   #9
#> 10   10        rowid  #10
#> 11   11        rowid  #11
#> 12   12        rowid  #12
#> 13   13        rowid  #13
#> 14   14        rowid  #14
#> 15   15        rowid  #15
#> 16   16        rowid  #16
#> 17   17        rowid  #17
#> 18   18        rowid  #18
#> 19   19        rowid  #19
#> 20   20        rowid  #20
#> 21   21        rowid  #21
#> 22   22        rowid  #22
#> 23   23        rowid  #23
#> 24   24        rowid  #24
#> 25   25        rowid  #25
#> 26   26        rowid  #26
#> 27   27        rowid  #27
#> 28   28        rowid  #28
#> 29   29        rowid  #29
#> 30   30        rowid  #30
#> 31   31        rowid  #31
#> 32   32        rowid  #32
#> 33   33        rowid  #33
#> 34   34        rowid  #34
#> 35   35        rowid  #35
#> 36   36        rowid  #36
#> 37   37        rowid  #37
#> 38   38        rowid  #38
#> 39   39        rowid  #39
#> 40   40        rowid  #40
#> 41   41        rowid  #41
#> 42   42        rowid  #42
#> 43   43        rowid  #43
#> 44   44        rowid  #44
#> 45   45        rowid  #45
#> 46   46        rowid  #46
#> 47   47        rowid  #47
#> 48   48        rowid  #48
#> 49   49        rowid  #49
#> 50   50        rowid  #50
#> 51   51        rowid  #51
#> 52   52        rowid  #52
#> 53   53        rowid  #53
#> 54   54        rowid  #54
#> 55   55        rowid  #55
#> 56   56        rowid  #56
#> 57   57        rowid  #57
#> 58   58        rowid  #58
#> 59   59        rowid  #59
#> 60   60        rowid  #60
#> 61   61        rowid  #61
#> 62   62        rowid  #62
#> 63   63        rowid  #63
#> 64   64        rowid  #64
#> 65   65        rowid  #65
#> 66   66        rowid  #66
#> 67   67        rowid  #67
#> 68   68        rowid  #68
#> 69   69        rowid  #69
#> 70   70        rowid  #70
#> 71   71        rowid  #71
#> 72   72        rowid  #72
#> 73   73        rowid  #73
#> 74   74        rowid  #74
#> 75   75        rowid  #75
#> 76   76        rowid  #76
#> 77   77        rowid  #77
#> 78   78        rowid  #78
#> 79   79        rowid  #79
#> 80   80        rowid  #80
#> 81   81        rowid  #81
#> 82   82        rowid  #82
#> 83   83        rowid  #83
#> 84   84        rowid  #84
#> 85   85        rowid  #85
#> 86   86        rowid  #86
#> 87   87        rowid  #87
#> 88   88        rowid  #88
#> 89   89        rowid  #89
#> 90   90        rowid  #90
#> 91   91        rowid  #91
#> 92   92        rowid  #92
#> 93   93        rowid  #93
#> 94   94        rowid  #94
#> 95   95        rowid  #95
#> 96   96        rowid  #96
#> 97   97        rowid  #97
#> 98   98        rowid  #98
#> 99   99        rowid  #99
#> 100 100        rowid #100
#> 101 101        rowid #101
#> 102 102        rowid #102
#> 103 103        rowid #103
#> 104 104        rowid #104
#> 105 105        rowid #105
#> 106 106        rowid #106
#> 107 107        rowid #107
#> 108 108        rowid #108
#> 109 109        rowid #109
#> 110 110        rowid #110
#> 111 111        rowid #111
#> 112 112        rowid #112
#> 113 113        rowid #113
#> 114 114        rowid #114
#> 115 115        rowid #115
#> 116 116        rowid #116
#> 117 117        rowid #117
#> 118 118        rowid #118
#> 119 119        rowid #119
#> 120 120        rowid #120
#> 121 121        rowid #121
#> 122 122        rowid #122
#> 123 123        rowid #123
#> 124 124        rowid #124
#> 125 125        rowid #125
#> 126 126        rowid #126
#> 127 127        rowid #127
#> 128 128        rowid #128
#> 129 129        rowid #129
#> 130 130        rowid #130
#> 131 131        rowid #131
#> 132 132        rowid #132
#> 133 133        rowid #133
#> 134 134        rowid #134
#> 135 135        rowid #135
#> 136 136        rowid #136
#> 137 137        rowid #137
#> 138 138        rowid #138
#> 139 139        rowid #139
#> 140 140        rowid #140
#> 141 141        rowid #141
#> 142 142        rowid #142
#> 143 143        rowid #143
#> 144 144        rowid #144
#> 145 145        rowid #145
#> 146 146        rowid #146
#> 147 147        rowid #147
#> 148 148        rowid #148
#> 149 149        rowid #149
#> 150 150        rowid #150
#> 151   1 Sepal.Length  5.1
#> 152   2 Sepal.Length  4.9
#> 153   3 Sepal.Length  4.7
#> 154   4 Sepal.Length  4.6
#> 155   5 Sepal.Length    5
#> 156   6 Sepal.Length  5.4
#> 157   7 Sepal.Length  4.6
#> 158   8 Sepal.Length    5
#> 159   9 Sepal.Length  4.4
#> 160  10 Sepal.Length  4.9
#> 161  11 Sepal.Length  5.4
#> 162  12 Sepal.Length  4.8
#> 163  13 Sepal.Length  4.8
#> 164  14 Sepal.Length  4.3
#> 165  15 Sepal.Length  5.8
#> 166  16 Sepal.Length  5.7
#> 167  17 Sepal.Length  5.4
#> 168  18 Sepal.Length  5.1
#> 169  19 Sepal.Length  5.7
#> 170  20 Sepal.Length  5.1
#> 171  21 Sepal.Length  5.4
#> 172  22 Sepal.Length  5.1
#> 173  23 Sepal.Length  4.6
#> 174  24 Sepal.Length  5.1
#> 175  25 Sepal.Length  4.8
#> 176  26 Sepal.Length    5
#> 177  27 Sepal.Length    5
#> 178  28 Sepal.Length  5.2
#> 179  29 Sepal.Length  5.2
#> 180  30 Sepal.Length  4.7
#> 181  31 Sepal.Length  4.8
#> 182  32 Sepal.Length  5.4
#> 183  33 Sepal.Length  5.2
#> 184  34 Sepal.Length  5.5
#> 185  35 Sepal.Length  4.9
#> 186  36 Sepal.Length    5
#> 187  37 Sepal.Length  5.5
#> 188  38 Sepal.Length  4.9
#> 189  39 Sepal.Length  4.4
#> 190  40 Sepal.Length  5.1
#> 191  41 Sepal.Length    5
#> 192  42 Sepal.Length  4.5
#> 193  43 Sepal.Length  4.4
#> 194  44 Sepal.Length    5
#> 195  45 Sepal.Length  5.1
#> 196  46 Sepal.Length  4.8
#> 197  47 Sepal.Length  5.1
#> 198  48 Sepal.Length  4.6
#> 199  49 Sepal.Length  5.3
#> 200  50 Sepal.Length    5
#> 201  51 Sepal.Length    7
#> 202  52 Sepal.Length  6.4
#> 203  53 Sepal.Length  6.9
#> 204  54 Sepal.Length  5.5
#> 205  55 Sepal.Length  6.5
#> 206  56 Sepal.Length  5.7
#> 207  57 Sepal.Length  6.3
#> 208  58 Sepal.Length  4.9
#> 209  59 Sepal.Length  6.6
#> 210  60 Sepal.Length  5.2
#> 211  61 Sepal.Length    5
#> 212  62 Sepal.Length  5.9
#> 213  63 Sepal.Length    6
#> 214  64 Sepal.Length  6.1
#> 215  65 Sepal.Length  5.6
#> 216  66 Sepal.Length  6.7
#> 217  67 Sepal.Length  5.6
#> 218  68 Sepal.Length  5.8
#> 219  69 Sepal.Length  6.2
#> 220  70 Sepal.Length  5.6
#> 221  71 Sepal.Length  5.9
#> 222  72 Sepal.Length  6.1
#> 223  73 Sepal.Length  6.3
#> 224  74 Sepal.Length  6.1
#> 225  75 Sepal.Length  6.4
#> 226  76 Sepal.Length  6.6
#> 227  77 Sepal.Length  6.8
#> 228  78 Sepal.Length  6.7
#> 229  79 Sepal.Length    6
#> 230  80 Sepal.Length  5.7
#> 231  81 Sepal.Length  5.5
#> 232  82 Sepal.Length  5.5
#> 233  83 Sepal.Length  5.8
#> 234  84 Sepal.Length    6
#> 235  85 Sepal.Length  5.4
#> 236  86 Sepal.Length    6
#> 237  87 Sepal.Length  6.7
#> 238  88 Sepal.Length  6.3
#> 239  89 Sepal.Length  5.6
#> 240  90 Sepal.Length  5.5
#> 241  91 Sepal.Length  5.5
#> 242  92 Sepal.Length  6.1
#> 243  93 Sepal.Length  5.8
#> 244  94 Sepal.Length    5
#> 245  95 Sepal.Length  5.6
#> 246  96 Sepal.Length  5.7
#> 247  97 Sepal.Length  5.7
#> 248  98 Sepal.Length  6.2
#> 249  99 Sepal.Length  5.1
#> 250 100 Sepal.Length  5.7
#> 251 101 Sepal.Length  6.3
#> 252 102 Sepal.Length  5.8
#> 253 103 Sepal.Length  7.1
#> 254 104 Sepal.Length  6.3
#> 255 105 Sepal.Length  6.5
#> 256 106 Sepal.Length  7.6
#> 257 107 Sepal.Length  4.9
#> 258 108 Sepal.Length  7.3
#> 259 109 Sepal.Length  6.7
#> 260 110 Sepal.Length  7.2
#> 261 111 Sepal.Length  6.5
#> 262 112 Sepal.Length  6.4
#> 263 113 Sepal.Length  6.8
#> 264 114 Sepal.Length  5.7
#> 265 115 Sepal.Length  5.8
#> 266 116 Sepal.Length  6.4
#> 267 117 Sepal.Length  6.5
#> 268 118 Sepal.Length  7.7
#> 269 119 Sepal.Length  7.7
#> 270 120 Sepal.Length    6
#> 271 121 Sepal.Length  6.9
#> 272 122 Sepal.Length  5.6
#> 273 123 Sepal.Length  7.7
#> 274 124 Sepal.Length  6.3
#> 275 125 Sepal.Length  6.7
#> 276 126 Sepal.Length  7.2
#> 277 127 Sepal.Length  6.2
#> 278 128 Sepal.Length  6.1
#> 279 129 Sepal.Length  6.4
#> 280 130 Sepal.Length  7.2
#> 281 131 Sepal.Length  7.4
#> 282 132 Sepal.Length  7.9
#> 283 133 Sepal.Length  6.4
#> 284 134 Sepal.Length  6.3
#> 285 135 Sepal.Length  6.1
#> 286 136 Sepal.Length  7.7
#> 287 137 Sepal.Length  6.3
#> 288 138 Sepal.Length  6.4
#> 289 139 Sepal.Length    6
#> 290 140 Sepal.Length  6.9
#> 291 141 Sepal.Length  6.7
#> 292 142 Sepal.Length  6.9
#> 293 143 Sepal.Length  5.8
#> 294 144 Sepal.Length  6.8
#> 295 145 Sepal.Length  6.7
#> 296 146 Sepal.Length  6.7
#> 297 147 Sepal.Length  6.3
#> 298 148 Sepal.Length  6.5
#> 299 149 Sepal.Length  6.2
#> 300 150 Sepal.Length  5.9
#> 301   1 Petal.Length  1.4
#> 302   2 Petal.Length  1.4
#> 303   3 Petal.Length  1.3
#> 304   4 Petal.Length  1.5
#> 305   5 Petal.Length  1.4
#> 306   6 Petal.Length  1.7
#> 307   7 Petal.Length  1.4
#> 308   8 Petal.Length  1.5
#> 309   9 Petal.Length  1.4
#> 310  10 Petal.Length  1.5
#> 311  11 Petal.Length  1.5
#> 312  12 Petal.Length  1.6
#> 313  13 Petal.Length  1.4
#> 314  14 Petal.Length  1.1
#> 315  15 Petal.Length  1.2
#> 316  16 Petal.Length  1.5
#> 317  17 Petal.Length  1.3
#> 318  18 Petal.Length  1.4
#> 319  19 Petal.Length  1.7
#> 320  20 Petal.Length  1.5
#> 321  21 Petal.Length  1.7
#> 322  22 Petal.Length  1.5
#> 323  23 Petal.Length    1
#> 324  24 Petal.Length  1.7
#> 325  25 Petal.Length  1.9
#> 326  26 Petal.Length  1.6
#> 327  27 Petal.Length  1.6
#> 328  28 Petal.Length  1.5
#> 329  29 Petal.Length  1.4
#> 330  30 Petal.Length  1.6
#> 331  31 Petal.Length  1.6
#> 332  32 Petal.Length  1.5
#> 333  33 Petal.Length  1.5
#> 334  34 Petal.Length  1.4
#> 335  35 Petal.Length  1.5
#> 336  36 Petal.Length  1.2
#> 337  37 Petal.Length  1.3
#> 338  38 Petal.Length  1.4
#> 339  39 Petal.Length  1.3
#> 340  40 Petal.Length  1.5
#> 341  41 Petal.Length  1.3
#> 342  42 Petal.Length  1.3
#> 343  43 Petal.Length  1.3
#> 344  44 Petal.Length  1.6
#> 345  45 Petal.Length  1.9
#> 346  46 Petal.Length  1.4
#> 347  47 Petal.Length  1.6
#> 348  48 Petal.Length  1.4
#> 349  49 Petal.Length  1.5
#> 350  50 Petal.Length  1.4
#> 351  51 Petal.Length  4.7
#> 352  52 Petal.Length  4.5
#> 353  53 Petal.Length  4.9
#> 354  54 Petal.Length    4
#> 355  55 Petal.Length  4.6
#> 356  56 Petal.Length  4.5
#> 357  57 Petal.Length  4.7
#> 358  58 Petal.Length  3.3
#> 359  59 Petal.Length  4.6
#> 360  60 Petal.Length  3.9
#> 361  61 Petal.Length  3.5
#> 362  62 Petal.Length  4.2
#> 363  63 Petal.Length    4
#> 364  64 Petal.Length  4.7
#> 365  65 Petal.Length  3.6
#> 366  66 Petal.Length  4.4
#> 367  67 Petal.Length  4.5
#> 368  68 Petal.Length  4.1
#> 369  69 Petal.Length  4.5
#> 370  70 Petal.Length  3.9
#> 371  71 Petal.Length  4.8
#> 372  72 Petal.Length    4
#> 373  73 Petal.Length  4.9
#> 374  74 Petal.Length  4.7
#> 375  75 Petal.Length  4.3
#> 376  76 Petal.Length  4.4
#> 377  77 Petal.Length  4.8
#> 378  78 Petal.Length    5
#> 379  79 Petal.Length  4.5
#> 380  80 Petal.Length  3.5
#> 381  81 Petal.Length  3.8
#> 382  82 Petal.Length  3.7
#> 383  83 Petal.Length  3.9
#> 384  84 Petal.Length  5.1
#> 385  85 Petal.Length  4.5
#> 386  86 Petal.Length  4.5
#> 387  87 Petal.Length  4.7
#> 388  88 Petal.Length  4.4
#> 389  89 Petal.Length  4.1
#> 390  90 Petal.Length    4
#> 391  91 Petal.Length  4.4
#> 392  92 Petal.Length  4.6
#> 393  93 Petal.Length    4
#> 394  94 Petal.Length  3.3
#> 395  95 Petal.Length  4.2
#> 396  96 Petal.Length  4.2
#> 397  97 Petal.Length  4.2
#> 398  98 Petal.Length  4.3
#> 399  99 Petal.Length    3
#> 400 100 Petal.Length  4.1
#> 401 101 Petal.Length    6
#> 402 102 Petal.Length  5.1
#> 403 103 Petal.Length  5.9
#> 404 104 Petal.Length  5.6
#> 405 105 Petal.Length  5.8
#> 406 106 Petal.Length  6.6
#> 407 107 Petal.Length  4.5
#> 408 108 Petal.Length  6.3
#> 409 109 Petal.Length  5.8
#> 410 110 Petal.Length  6.1
#> 411 111 Petal.Length  5.1
#> 412 112 Petal.Length  5.3
#> 413 113 Petal.Length  5.5
#> 414 114 Petal.Length    5
#> 415 115 Petal.Length  5.1
#> 416 116 Petal.Length  5.3
#> 417 117 Petal.Length  5.5
#> 418 118 Petal.Length  6.7
#> 419 119 Petal.Length  6.9
#> 420 120 Petal.Length    5
#> 421 121 Petal.Length  5.7
#> 422 122 Petal.Length  4.9
#> 423 123 Petal.Length  6.7
#> 424 124 Petal.Length  4.9
#> 425 125 Petal.Length  5.7
#> 426 126 Petal.Length    6
#> 427 127 Petal.Length  4.8
#> 428 128 Petal.Length  4.9
#> 429 129 Petal.Length  5.6
#> 430 130 Petal.Length  5.8
#> 431 131 Petal.Length  6.1
#> 432 132 Petal.Length  6.4
#> 433 133 Petal.Length  5.6
#> 434 134 Petal.Length  5.1
#> 435 135 Petal.Length  5.6
#> 436 136 Petal.Length  6.1
#> 437 137 Petal.Length  5.6
#> 438 138 Petal.Length  5.5
#> 439 139 Petal.Length  4.8
#> 440 140 Petal.Length  5.4
#> 441 141 Petal.Length  5.6
#> 442 142 Petal.Length  5.1
#> 443 143 Petal.Length  5.1
#> 444 144 Petal.Length  5.9
#> 445 145 Petal.Length  5.7
#> 446 146 Petal.Length  5.2
#> 447 147 Petal.Length    5
#> 448 148 Petal.Length  5.2
#> 449 149 Petal.Length  5.4
#> 450 150 Petal.Length  5.1
#> 451   1  Sepal.Width  3.5
#> 452   2  Sepal.Width    3
#> 453   3  Sepal.Width  3.2
#> 454   4  Sepal.Width  3.1
#> 455   5  Sepal.Width  3.6
#> 456   6  Sepal.Width  3.9
#> 457   7  Sepal.Width  3.4
#> 458   8  Sepal.Width  3.4
#> 459   9  Sepal.Width  2.9
#> 460  10  Sepal.Width  3.1
#> 461  11  Sepal.Width  3.7
#> 462  12  Sepal.Width  3.4
#> 463  13  Sepal.Width    3
#> 464  14  Sepal.Width    3
#> 465  15  Sepal.Width    4
#> 466  16  Sepal.Width  4.4
#> 467  17  Sepal.Width  3.9
#> 468  18  Sepal.Width  3.5
#> 469  19  Sepal.Width  3.8
#> 470  20  Sepal.Width  3.8
#> 471  21  Sepal.Width  3.4
#> 472  22  Sepal.Width  3.7
#> 473  23  Sepal.Width  3.6
#> 474  24  Sepal.Width  3.3
#> 475  25  Sepal.Width  3.4
#> 476  26  Sepal.Width    3
#> 477  27  Sepal.Width  3.4
#> 478  28  Sepal.Width  3.5
#> 479  29  Sepal.Width  3.4
#> 480  30  Sepal.Width  3.2
#> 481  31  Sepal.Width  3.1
#> 482  32  Sepal.Width  3.4
#> 483  33  Sepal.Width  4.1
#> 484  34  Sepal.Width  4.2
#> 485  35  Sepal.Width  3.1
#> 486  36  Sepal.Width  3.2
#> 487  37  Sepal.Width  3.5
#> 488  38  Sepal.Width  3.6
#> 489  39  Sepal.Width    3
#> 490  40  Sepal.Width  3.4
#> 491  41  Sepal.Width  3.5
#> 492  42  Sepal.Width  2.3
#> 493  43  Sepal.Width  3.2
#> 494  44  Sepal.Width  3.5
#> 495  45  Sepal.Width  3.8
#> 496  46  Sepal.Width    3
#> 497  47  Sepal.Width  3.8
#> 498  48  Sepal.Width  3.2
#> 499  49  Sepal.Width  3.7
#> 500  50  Sepal.Width  3.3
#> 501  51  Sepal.Width  3.2
#> 502  52  Sepal.Width  3.2
#> 503  53  Sepal.Width  3.1
#> 504  54  Sepal.Width  2.3
#> 505  55  Sepal.Width  2.8
#> 506  56  Sepal.Width  2.8
#> 507  57  Sepal.Width  3.3
#> 508  58  Sepal.Width  2.4
#> 509  59  Sepal.Width  2.9
#> 510  60  Sepal.Width  2.7
#> 511  61  Sepal.Width    2
#> 512  62  Sepal.Width    3
#> 513  63  Sepal.Width  2.2
#> 514  64  Sepal.Width  2.9
#> 515  65  Sepal.Width  2.9
#> 516  66  Sepal.Width  3.1
#> 517  67  Sepal.Width    3
#> 518  68  Sepal.Width  2.7
#> 519  69  Sepal.Width  2.2
#> 520  70  Sepal.Width  2.5
#> 521  71  Sepal.Width  3.2
#> 522  72  Sepal.Width  2.8
#> 523  73  Sepal.Width  2.5
#> 524  74  Sepal.Width  2.8
#> 525  75  Sepal.Width  2.9
#> 526  76  Sepal.Width    3
#> 527  77  Sepal.Width  2.8
#> 528  78  Sepal.Width    3
#> 529  79  Sepal.Width  2.9
#> 530  80  Sepal.Width  2.6
#> 531  81  Sepal.Width  2.4
#> 532  82  Sepal.Width  2.4
#> 533  83  Sepal.Width  2.7
#> 534  84  Sepal.Width  2.7
#> 535  85  Sepal.Width    3
#> 536  86  Sepal.Width  3.4
#> 537  87  Sepal.Width  3.1
#> 538  88  Sepal.Width  2.3
#> 539  89  Sepal.Width    3
#> 540  90  Sepal.Width  2.5
#> 541  91  Sepal.Width  2.6
#> 542  92  Sepal.Width    3
#> 543  93  Sepal.Width  2.6
#> 544  94  Sepal.Width  2.3
#> 545  95  Sepal.Width  2.7
#> 546  96  Sepal.Width    3
#> 547  97  Sepal.Width  2.9
#> 548  98  Sepal.Width  2.9
#> 549  99  Sepal.Width  2.5
#> 550 100  Sepal.Width  2.8
#> 551 101  Sepal.Width  3.3
#> 552 102  Sepal.Width  2.7
#> 553 103  Sepal.Width    3
#> 554 104  Sepal.Width  2.9
#> 555 105  Sepal.Width    3
#> 556 106  Sepal.Width    3
#> 557 107  Sepal.Width  2.5
#> 558 108  Sepal.Width  2.9
#> 559 109  Sepal.Width  2.5
#> 560 110  Sepal.Width  3.6
#> 561 111  Sepal.Width  3.2
#> 562 112  Sepal.Width  2.7
#> 563 113  Sepal.Width    3
#> 564 114  Sepal.Width  2.5
#> 565 115  Sepal.Width  2.8
#> 566 116  Sepal.Width  3.2
#> 567 117  Sepal.Width    3
#> 568 118  Sepal.Width  3.8
#> 569 119  Sepal.Width  2.6
#> 570 120  Sepal.Width  2.2
#> 571 121  Sepal.Width  3.2
#> 572 122  Sepal.Width  2.8
#> 573 123  Sepal.Width  2.8
#> 574 124  Sepal.Width  2.7
#> 575 125  Sepal.Width  3.3
#> 576 126  Sepal.Width  3.2
#> 577 127  Sepal.Width  2.8
#> 578 128  Sepal.Width    3
#> 579 129  Sepal.Width  2.8
#> 580 130  Sepal.Width    3
#> 581 131  Sepal.Width  2.8
#> 582 132  Sepal.Width  3.8
#> 583 133  Sepal.Width  2.8
#> 584 134  Sepal.Width  2.8
#> 585 135  Sepal.Width  2.6
#> 586 136  Sepal.Width    3
#> 587 137  Sepal.Width  3.4
#> 588 138  Sepal.Width  3.1
#> 589 139  Sepal.Width    3
#> 590 140  Sepal.Width  3.1
#> 591 141  Sepal.Width  3.1
#> 592 142  Sepal.Width  3.1
#> 593 143  Sepal.Width  2.7
#> 594 144  Sepal.Width  3.2
#> 595 145  Sepal.Width  3.3
#> 596 146  Sepal.Width    3
#> 597 147  Sepal.Width  2.5
#> 598 148  Sepal.Width    3
#> 599 149  Sepal.Width  3.4
#> 600 150  Sepal.Width    3
#> 601   1  Petal.Width  0.2
#> 602   2  Petal.Width  0.2
#> 603   3  Petal.Width  0.2
#> 604   4  Petal.Width  0.2
#> 605   5  Petal.Width  0.2
#> 606   6  Petal.Width  0.4
#> 607   7  Petal.Width  0.3
#> 608   8  Petal.Width  0.2
#> 609   9  Petal.Width  0.2
#> 610  10  Petal.Width  0.1
#> 611  11  Petal.Width  0.2
#> 612  12  Petal.Width  0.2
#> 613  13  Petal.Width  0.1
#> 614  14  Petal.Width  0.1
#> 615  15  Petal.Width  0.2
#> 616  16  Petal.Width  0.4
#> 617  17  Petal.Width  0.4
#> 618  18  Petal.Width  0.3
#> 619  19  Petal.Width  0.3
#> 620  20  Petal.Width  0.3
#> 621  21  Petal.Width  0.2
#> 622  22  Petal.Width  0.4
#> 623  23  Petal.Width  0.2
#> 624  24  Petal.Width  0.5
#> 625  25  Petal.Width  0.2
#> 626  26  Petal.Width  0.2
#> 627  27  Petal.Width  0.4
#> 628  28  Petal.Width  0.2
#> 629  29  Petal.Width  0.2
#> 630  30  Petal.Width  0.2
#> 631  31  Petal.Width  0.2
#> 632  32  Petal.Width  0.4
#> 633  33  Petal.Width  0.1
#> 634  34  Petal.Width  0.2
#> 635  35  Petal.Width  0.2
#> 636  36  Petal.Width  0.2
#> 637  37  Petal.Width  0.2
#> 638  38  Petal.Width  0.1
#> 639  39  Petal.Width  0.2
#> 640  40  Petal.Width  0.2
#> 641  41  Petal.Width  0.3
#> 642  42  Petal.Width  0.3
#> 643  43  Petal.Width  0.2
#> 644  44  Petal.Width  0.6
#> 645  45  Petal.Width  0.4
#> 646  46  Petal.Width  0.3
#> 647  47  Petal.Width  0.2
#> 648  48  Petal.Width  0.2
#> 649  49  Petal.Width  0.2
#> 650  50  Petal.Width  0.2
#> 651  51  Petal.Width  1.4
#> 652  52  Petal.Width  1.5
#> 653  53  Petal.Width  1.5
#> 654  54  Petal.Width  1.3
#> 655  55  Petal.Width  1.5
#> 656  56  Petal.Width  1.3
#> 657  57  Petal.Width  1.6
#> 658  58  Petal.Width    1
#> 659  59  Petal.Width  1.3
#> 660  60  Petal.Width  1.4
#> 661  61  Petal.Width    1
#> 662  62  Petal.Width  1.5
#> 663  63  Petal.Width    1
#> 664  64  Petal.Width  1.4
#> 665  65  Petal.Width  1.3
#> 666  66  Petal.Width  1.4
#> 667  67  Petal.Width  1.5
#> 668  68  Petal.Width    1
#> 669  69  Petal.Width  1.5
#> 670  70  Petal.Width  1.1
#> 671  71  Petal.Width  1.8
#> 672  72  Petal.Width  1.3
#> 673  73  Petal.Width  1.5
#> 674  74  Petal.Width  1.2
#> 675  75  Petal.Width  1.3
#> 676  76  Petal.Width  1.4
#> 677  77  Petal.Width  1.4
#> 678  78  Petal.Width  1.7
#> 679  79  Petal.Width  1.5
#> 680  80  Petal.Width    1
#> 681  81  Petal.Width  1.1
#> 682  82  Petal.Width    1
#> 683  83  Petal.Width  1.2
#> 684  84  Petal.Width  1.6
#> 685  85  Petal.Width  1.5
#> 686  86  Petal.Width  1.6
#> 687  87  Petal.Width  1.5
#> 688  88  Petal.Width  1.3
#> 689  89  Petal.Width  1.3
#> 690  90  Petal.Width  1.3
#> 691  91  Petal.Width  1.2
#> 692  92  Petal.Width  1.4
#> 693  93  Petal.Width  1.2
#> 694  94  Petal.Width    1
#> 695  95  Petal.Width  1.3
#> 696  96  Petal.Width  1.2
#> 697  97  Petal.Width  1.3
#> 698  98  Petal.Width  1.3
#> 699  99  Petal.Width  1.1
#> 700 100  Petal.Width  1.3
#> 701 101  Petal.Width  2.5
#> 702 102  Petal.Width  1.9
#> 703 103  Petal.Width  2.1
#> 704 104  Petal.Width  1.8
#> 705 105  Petal.Width  2.2
#> 706 106  Petal.Width  2.1
#> 707 107  Petal.Width  1.7
#> 708 108  Petal.Width  1.8
#> 709 109  Petal.Width  1.8
#> 710 110  Petal.Width  2.5
#> 711 111  Petal.Width    2
#> 712 112  Petal.Width  1.9
#> 713 113  Petal.Width  2.1
#> 714 114  Petal.Width    2
#> 715 115  Petal.Width  2.4
#> 716 116  Petal.Width  2.3
#> 717 117  Petal.Width  1.8
#> 718 118  Petal.Width  2.2
#> 719 119  Petal.Width  2.3
#> 720 120  Petal.Width  1.5
#> 721 121  Petal.Width  2.3
#> 722 122  Petal.Width    2
#> 723 123  Petal.Width    2
#> 724 124  Petal.Width  1.8
#> 725 125  Petal.Width  2.1
#> 726 126  Petal.Width  1.8
#> 727 127  Petal.Width  1.8
#> 728 128  Petal.Width  1.8
#> 729 129  Petal.Width  2.1
#> 730 130  Petal.Width  1.6
#> 731 131  Petal.Width  1.9
#> 732 132  Petal.Width    2
#> 733 133  Petal.Width  2.2
#> 734 134  Petal.Width  1.5
#> 735 135  Petal.Width  1.4
#> 736 136  Petal.Width  2.3
#> 737 137  Petal.Width  2.4
#> 738 138  Petal.Width  1.8
#> 739 139  Petal.Width  1.8
#> 740 140  Petal.Width  2.1
#> 741 141  Petal.Width  2.4
#> 742 142  Petal.Width  2.3
#> 743 143  Petal.Width  1.9
#> 744 144  Petal.Width  2.3
#> 745 145  Petal.Width  2.5
#> 746 146  Petal.Width  2.3
#> 747 147  Petal.Width  1.9
#> 748 148  Petal.Width    2
#> 749 149  Petal.Width  2.3
#> 750 150  Petal.Width  1.8
#> 751   1      Species    1
#> 752   2      Species    1
#> 753   3      Species    1
#> 754   4      Species    1
#> 755   5      Species    1
#> 756   6      Species    1
#> 757   7      Species    1
#> 758   8      Species    1
#> 759   9      Species    1
#> 760  10      Species    1
#> 761  11      Species    1
#> 762  12      Species    1
#> 763  13      Species    1
#> 764  14      Species    1
#> 765  15      Species    1
#> 766  16      Species    1
#> 767  17      Species    1
#> 768  18      Species    1
#> 769  19      Species    1
#> 770  20      Species    1
#> 771  21      Species    1
#> 772  22      Species    1
#> 773  23      Species    1
#> 774  24      Species    1
#> 775  25      Species    1
#> 776  26      Species    1
#> 777  27      Species    1
#> 778  28      Species    1
#> 779  29      Species    1
#> 780  30      Species    1
#> 781  31      Species    1
#> 782  32      Species    1
#> 783  33      Species    1
#> 784  34      Species    1
#> 785  35      Species    1
#> 786  36      Species    1
#> 787  37      Species    1
#> 788  38      Species    1
#> 789  39      Species    1
#> 790  40      Species    1
#> 791  41      Species    1
#> 792  42      Species    1
#> 793  43      Species    1
#> 794  44      Species    1
#> 795  45      Species    1
#> 796  46      Species    1
#> 797  47      Species    1
#> 798  48      Species    1
#> 799  49      Species    1
#> 800  50      Species    1
#> 801  51      Species    2
#> 802  52      Species    2
#> 803  53      Species    2
#> 804  54      Species    2
#> 805  55      Species    2
#> 806  56      Species    2
#> 807  57      Species    2
#> 808  58      Species    2
#> 809  59      Species    2
#> 810  60      Species    2
#> 811  61      Species    2
#> 812  62      Species    2
#> 813  63      Species    2
#> 814  64      Species    2
#> 815  65      Species    2
#> 816  66      Species    2
#> 817  67      Species    2
#> 818  68      Species    2
#> 819  69      Species    2
#> 820  70      Species    2
#> 821  71      Species    2
#> 822  72      Species    2
#> 823  73      Species    2
#> 824  74      Species    2
#> 825  75      Species    2
#> 826  76      Species    2
#> 827  77      Species    2
#> 828  78      Species    2
#> 829  79      Species    2
#> 830  80      Species    2
#> 831  81      Species    2
#> 832  82      Species    2
#> 833  83      Species    2
#> 834  84      Species    2
#> 835  85      Species    2
#> 836  86      Species    2
#> 837  87      Species    2
#> 838  88      Species    2
#> 839  89      Species    2
#> 840  90      Species    2
#> 841  91      Species    2
#> 842  92      Species    2
#> 843  93      Species    2
#> 844  94      Species    2
#> 845  95      Species    2
#> 846  96      Species    2
#> 847  97      Species    2
#> 848  98      Species    2
#> 849  99      Species    2
#> 850 100      Species    2
#> 851 101      Species    3
#> 852 102      Species    3
#> 853 103      Species    3
#> 854 104      Species    3
#> 855 105      Species    3
#> 856 106      Species    3
#> 857 107      Species    3
#> 858 108      Species    3
#> 859 109      Species    3
#> 860 110      Species    3
#> 861 111      Species    3
#> 862 112      Species    3
#> 863 113      Species    3
#> 864 114      Species    3
#> 865 115      Species    3
#> 866 116      Species    3
#> 867 117      Species    3
#> 868 118      Species    3
#> 869 119      Species    3
#> 870 120      Species    3
#> 871 121      Species    3
#> 872 122      Species    3
#> 873 123      Species    3
#> 874 124      Species    3
#> 875 125      Species    3
#> 876 126      Species    3
#> 877 127      Species    3
#> 878 128      Species    3
#> 879 129      Species    3
#> 880 130      Species    3
#> 881 131      Species    3
#> 882 132      Species    3
#> 883 133      Species    3
#> 884 134      Species    3
#> 885 135      Species    3
#> 886 136      Species    3
#> 887 137      Species    3
#> 888 138      Species    3
#> 889 139      Species    3
#> 890 140      Species    3
#> 891 141      Species    3
#> 892 142      Species    3
#> 893 143      Species    3
#> 894 144      Species    3
#> 895 145      Species    3
#> 896 146      Species    3
#> 897 147      Species    3
#> 898 148      Species    3
#> 899 149      Species    3
#> 900 150      Species    3