Displaying 1 result from an estimated 1 matches for "interuptores".
2011 Sep 27
1
problem with switch function across R versions 2.10 and 2.13
... n <- c(n,"minimo no puede ser mayor que maximo") }, ,
stop(paste("Distribución",distr,"no reconocida.")) )
However, using R2.13 (under Windows), I get the following error:
Error en .local(x, distr, ...) :
duplicado de interuptores por defecto: '' y 'stop(paste...'
The 2.13 help on the function says the following:
In the case of no match, if there is a unnamed element of ... its value is returned. (If there is more than one such argument
an error is returned. Before R 2.13.0 the first one would have
been...