If this is a function from a private package , your professors toolbox, then the ability for an outsider to support you with its use will naturally be limited. more general and widely available tools, are more easily supported because more users are familiar and have experience with them.
That said its common to find documentation provided for packaged functions. In your position I would type
?discretiza.variable.fnc
into the R Studio Console, in the hope that help would appear on the syntax of the function, and perhaps examples provided.
That said. I can guess that the problem is that your data contains 3 columns V1,V2,V3 rather than
status.exp, conformidad, autoritarismo.
in the previous lee.archivo.fnc, what is the meaning of hay.nombres=F ?