Automatically determine types of each variable (continuous/binary/ternary/truncated) in a data matrix.
Useful links