LO QUE SE QUIERE REALIZAR ES LA GRAFICA PARA DIFERENTES VALORES DE DE N.
i.e. N=1,N=2,...,

UN POSIBLE ALGORITMO SERIA, bueno es una idea baga mia

les pido una colaboracion alrespecto para poder consolidar

fdens <- function(n,z)
{
  c <- 1/factorial(n-1)
  for(j in 0:n-1)
  {  z <- seq(i,i+1,0.1)
     f <- f+choose(n,j)*(-1)^j*(z-j)^(n-1)
   }
return(f)
}

-- 
atte. Genaro Llusco Silvestre
        [email protected]
         Telf: 74028671
          blog personal es:
http://www.cientificest.blogspot.com

        [[alternative HTML version deleted]]

_______________________________________________
R-help-es mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-help-es

Responder a