Wraps around nrow

get_nb(x)

Arguments

x

coo_single, coo_list or mom_tbl

Value

numeric or additional column

See also

Other getters: get_perim_along()

Examples

bot %>% pick(1) %>% get_nb()
#> [1] 138
bot %>% get_nb()
#> # A tibble: 40 x 4 #> coo type fake nb #> <list<coo_single[,2]>> <fct> <fct> <dbl> #> 1 <tibble [138 × 2]> whisky a 138 #> 2 <tibble [168 × 2]> whisky a 168 #> 3 <tibble [189 × 2]> whisky a 189 #> 4 <tibble [129 × 2]> whisky a 129 #> 5 <tibble [152 × 2]> whisky a 152 #> 6 <tibble [161 × 2]> whisky a 161 #> 7 <tibble [124 × 2]> whisky a 124 #> 8 <tibble [126 × 2]> whisky a 126 #> 9 <tibble [183 × 2]> whisky a 183 #> 10 <tibble [193 × 2]> whisky a 193 #> # … with 30 more rows #> ❯mom_tbl