get_lw.Rd
Returns the length and width of a shape. The shape is first aligned using coo_align, then length is the range along the x-axis and the width as the range on the y-axis.
get_lw(x) get_length(x) get_width(x)
x |
---|
numeric
or additional column
bot$coo[[5]] %>% get_lw#> # A tibble: 1 x 2 #> x_range y_range #> <dbl> <dbl> #> 1 886. 287.