convert

convert(obj, *args, **kwargs)

Convert obj to another type.

R equivalent: quanteda::convert()