This function was introduced in exametrika version 1.1 to handle the possibility of polytomous data input. Since functions prior to v1.1 were designed exclusively for binary data, this factory function serves as a filter and recursively generates functions that maintain backward compatibility by ensuring binary data input.
createBinaryFunction(fun, fun_name = NULL)
A function that performs the actual analysis on binary data
Optional character string specifying the function name for error messages