Re: [R] problem with switch function across R versions 2.10 and 2.13
On 11-09-27 4:03 PM, jose romero wrote: Hello, The following piece of code works fine in R.2.10 (ubuntu): switch(distr, normal= {if (is.infinite(param["desv"])) n<- c(n,"La desv. estándar no puede ser Inf.") if (param["desv"]<0)
[R] problem with switch function across R versions 2.10 and 2.13
Hello, The following piece of code works fine in R.2.10 (ubuntu): switch(distr, normal = {if (is.infinite(param["desv"])) n <- c(n,"La desv. estándar no puede ser Inf.") if (param["desv"]<0) n <- c(n,"La desv. estándar no pue