Well,
I have no idea either. I can get correct answers for continous functions but
incorrect for step functions.
Sign, I have been trying to realize the integration in C for long time.
Thank you for your answering.
Best,
Lynette
- Original Message -
From: Thomas Lumley [EMAIL
with the correct integration in C. Thank
you all. And hope this helps to others.
Best wishes,
Lynette
- Original Message -
From: Lynette [EMAIL PROTECTED]
To: r-help@stat.math.ethz.ch
Cc: AJ Rossini [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Sunday, January 21, 2007 6:24 PM
Subject: [R] How
); }
return;
}
Please advise the problems. Thanks a lot.
Best,
Lynette
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented
to appear: Too many steps in routine qsimp . Anyone has
any idea why this happens and are there better solutions for the integration
realization? Thanks a lot!
Best,
Lynette Sun
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r
Hi,
Thank you for your suggestions. But I also realized I didn't make myself
clear. I actually don't just need the integration results in R. The
integration in C is part of my C codes. I need the integration results in C.
How to realize that? Any suggestions? Thanks a lot!
Best,
Lynette
}
integrate(fr,-1,2)
works?
1.67 with absolute error 3.4e-05
Thanks.
Lynette Sun
Department of Statistics
[[alternative HTML version deleted]]
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
Anyone knows how to realize multiple exponential(different lembdas)
convolutons in R or where I can find the final equation? Thanks.
Best,
Lynette
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read
, upper=x, n=n-1)$value
}
}
I could get f(4,2)=4^2/2!=8, but failed in f(4,3)=4^3/3! Thanks
Best,
Lynette
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R
, upper=x, n=n-1)$value
}
}
I could get f(4,2)=4^2/2!=8, but failed in f(4,3)=4^3/3! Thanks
Best,
Lynette
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R