Return the number of types in the dataset.

ntypes(x)

Arguments

x

A TRONCO compliant dataset.

Value

The number of types in the dataset.

Examples

data(test_dataset)
ntypes(test_dataset)
#> [1] 5