Return the number of patterns in the dataset

npatterns(x)

Arguments

x

the dataset.

Examples

data(test_dataset)
npatterns(test_dataset)
#> [1] 2