search for: risvalori

Displaying 2 results from an estimated 2 matches for "risvalori".

2006 Mar 01
1
a strange problem with integrate()
...; integrate(g2,-2,2,theta=c(-2,3),xi=c(1,2,5,6),yi=c(1,0,1,1),sigma2=1) Error in integrate(g2, -2, 2, theta = c(-2, 3), xi = c(1, 2, 5, 6), yi = c(1, : evaluation of function gave a result of wrong length > I have checked the integrand function > valori<-seq(-2,2,l=30) > risvalori<-NULL > for(k in valori) risvalori[length(risvalori)+1]<-g2(k,theta=c(-2,3),xi=c(1,2,5,6),yi=c(1,0,1,1),sigma2=1) > plot(valori, risvalori) And the integral exists.. Please, any comment is coming? many thanks, vito -- ==================================== Vito M.R. Muggeo Dip.to...
2006 Mar 01
0
[Fwd: Re: [R] a strange problem with integrate()]
...6),yi=c(1,0,1,1),sigma2=1) > Error in integrate(g2, -2, 2, theta = c(-2, 3), xi = c(1, 2, 5, 6), yi = > c(1, : > evaluation of function gave a result of wrong length > > > > I have checked the integrand function > > > valori<-seq(-2,2,l=30) > > risvalori<-NULL > > for(k in valori) > risvalori[length(risvalori)+1]<-g2(k,theta=c(-2,3),xi=c(1,2,5,6),yi=c(1,0,1,1),sigma2=1) > > plot(valori, risvalori) > > And the integral exists.. > > Please, any comment is coming? > > many thanks, > vito > Please (r...