A simple wrapper to calculate dxi - dx1 and dyi - dx1.
Value
a data.frame
with two components dx
and dy
for single shapes
or a list
of such data.frame
s for Coo
See also
Other coo_ utilities:
coo_aligncalliper()
,
coo_alignminradius()
,
coo_alignxax()
,
coo_align()
,
coo_baseline()
,
coo_bookstein()
,
coo_boundingbox()
,
coo_calliper()
,
coo_centdist()
,
coo_center()
,
coo_centpos()
,
coo_close()
,
coo_down()
,
coo_extract()
,
coo_flipx()
,
coo_force2close()
,
coo_interpolate()
,
coo_is_closed()
,
coo_jitter()
,
coo_left()
,
coo_likely_clockwise()
,
coo_nb()
,
coo_perim()
,
coo_range()
,
coo_rev()
,
coo_right()
,
coo_rotatecenter()
,
coo_rotate()
,
coo_sample_prop()
,
coo_samplerr()
,
coo_sample()
,
coo_scale()
,
coo_shearx()
,
coo_slice()
,
coo_slidedirection()
,
coo_slidegap()
,
coo_slide()
,
coo_smoothcurve()
,
coo_smooth()
,
coo_template()
,
coo_trans()
,
coo_trimbottom()
,
coo_trimtop()
,
coo_trim()
,
coo_untiltx()
,
coo_up()
,
is_equallyspacedradii()
Examples
coo_dxy(coo_sample(bot[1], 12))
#> # A tibble: 12 × 2
#> dx dy
#> <dbl> <dbl>
#> 1 0 0
#> 2 26 -200
#> 3 5 -411
#> 4 106 -546
#> 5 279 -448
#> 6 268 -259
#> 7 258 -38
#> 8 259 152
#> 9 203 351
#> 10 168 540
#> 11 73 441
#> 12 45 220
bot %>%
slice(1:5) %>% coo_sample(12) %>% # for readability and speed only
coo_dxy()
#> $brahma
#> # A tibble: 12 × 2
#> dx dy
#> <dbl> <dbl>
#> 1 0 0
#> 2 26 -200
#> 3 5 -411
#> 4 106 -546
#> 5 279 -448
#> 6 268 -259
#> 7 258 -38
#> 8 259 152
#> 9 203 351
#> 10 168 540
#> 11 73 441
#> 12 45 220
#>
#> $caney
#> # A tibble: 12 × 2
#> dx dy
#> <dbl> <dbl>
#> 1 0 0
#> 2 0 -192
#> 3 0 -373
#> 4 91 -507
#> 5 251 -436
#> 6 258 -244
#> 7 258 -73
#> 8 219 109
#> 9 193 299
#> 10 182 474
#> 11 76 392
#> 12 58 211
#>
#> $chimay
#> # A tibble: 12 × 2
#> dx dy
#> <dbl> <dbl>
#> 1 0 0
#> 2 3 -131
#> 3 7 -254
#> 4 99 -320
#> 5 227 -304
#> 6 242 -185
#> 7 239 -54
#> 8 209 83
#> 9 163 204
#> 10 145 321
#> 11 65 265
#> 12 49 145
#>
#> $corona
#> # A tibble: 12 × 2
#> dx dy
#> <dbl> <dbl>
#> 1 0 0
#> 2 0 -155
#> 3 3 -298
#> 4 73 -409
#> 5 184 -346
#> 6 185 -201
#> 7 185 -46
#> 8 155 106
#> 9 145 246
#> 10 125 396
#> 11 53 309
#> 12 33 171
#>
#> $deusventrue
#> # A tibble: 12 × 2
#> dx dy
#> <dbl> <dbl>
#> 1 0 0
#> 2 -38 -171
#> 3 -28 -334
#> 4 86 -427
#> 5 231 -384
#> 6 245 -209
#> 7 234 -47
#> 8 168 123
#> 9 151 294
#> 10 137 451
#> 11 56 347
#> 12 57 197
#>