Extract categories
get_cats(x, ...)
x
An object to be converted
...
Further arguments to be passed from or to other methods.