[R-es] what´s wrong with this code?
Olivier Nuñez
onunez en iberstat.es
Vie Oct 29 11:26:46 CEST 2010
José,
escoge más bien la función
h<-function(x) log((g(x)$value))
¡En todo caso, el foro es en español!
Un saludo. Olivier
--
____________________________________
Olivier G. Nuñez
Email: onunez en iberstat.es
Tel : +34 663 03 69 09
Web: http://www.iberstat.es
____________________________________
El 29/10/2010, a las 11:20, José Manuel Gavilán Ruiz escribió:
> g<- function(x){
> integrand<-function(y) {exp(-x^2)*y}
> g<-integrate(integrand,0,1)
> }
> h<-function(x) log((g(x)))
Más información sobre la lista de distribución R-help-es