Just a wrapper around range

Just a wrapper around range. get_diffrange adds diff to get_range.

get_range(x)

get_range(x)

get_diffrange(x)

Arguments

x

coo_single, coo_list or mom_tbl

Value

numeric or additional column

numeric or additional columns

See also

Other coo_descriptors: get_centpos(), get_centsize()

Other coo_descriptors: get_centpos(), get_centsize()

Examples

bot$coo[[5]] %>% get_range
#> # A tibble: 1 x 4 #> x_min x_max y_min y_max #> <dbl> <dbl> <dbl> <dbl> #> 1 36 323 53 939
bot %>% pick(1) %>% get_range
#> # A tibble: 1 x 4 #> x_min x_max y_min y_max #> <dbl> <dbl> <dbl> <dbl> #> 1 33 316 14 1102
bot %>% get_diffrange()
#> # A tibble: 40 x 5 #> coo type fake x_range y_range #> <list<coo_single[,2]>> <fct> <fct> <dbl> <dbl> #> 1 <tibble [138 × 2]> whisky a 283 1088 #> 2 <tibble [168 × 2]> whisky a 261 994 #> 3 <tibble [189 × 2]> whisky a 243 643 #> 4 <tibble [129 × 2]> whisky a 187 806 #> 5 <tibble [152 × 2]> whisky a 287 886 #> 6 <tibble [161 × 2]> whisky a 240 606 #> 7 <tibble [124 × 2]> whisky a 214 865 #> 8 <tibble [126 × 2]> whisky a 252 765 #> 9 <tibble [183 × 2]> whisky a 230 742 #> 10 <tibble [193 × 2]> whisky a 267 1048 #> # … with 30 more rows #> ❯mom_tbl