Get number of groups/profiles
Value
An integer giving the number of groups of the object.
An integer giving the number of profiles of the object.
Examples
n_groups(base_dat)
#> Error in UseMethod("n_groups"): no applicable method for 'n_groups' applied to an object of class "c('cfp_dat', 'list')"
n_profiles(base_dat)
#> [1] 24
n_profiles(cfp_soilphys(base_dat))
#> [1] 24