The following should do it: g77 -O2 -c test.f dllwrap -o test.dll --export-all-symbols test.o dyn.load("test.dll") Also, refer to Venables and Ripley's "S Programming" (Appendix A.4) for more details
There is also a nice paper by Kent and Quigley (Biometrika, 1988) that describes a measure of dependence between the explanatory variables and the response variable, under more general regression se
Spencer's solution doesn't work a non-integer power when the eigen values are real and negative (as it can happen for a symmetric matrix). However, if his function is modified slightly so that in th
Hi Neal: Attached find a "DLL" and a function that can compute the "Ei(x)" function. You need to first load the DLL using: dyn.load("ei.dll") then use the function, e.g. [1] 0.4542199 The function is
One simple technique is to make use of the fact that the beta-binomial is a mixture of binomial and beta distributions. Here is a simple function to generate beta-binomial random variables: betabinom
I have had this problem before and have reported it to Insightful last year. This is, as Tony Plate said, due to a side effect due to the attempt to use a "fast" method for apply. A simple way to avo
I am interested in generating random numbers from a positive stable distribution for alpha (the stability parameter) = 1/2. I am able to do this based on the formula (Eq.2.2) given in Chambers et al
I would like to thank Prof. Ripley and Bert Gunter for their replies. However, my primary question on how to compare the two methods for generating pseudo-random numbers from a positive-stable ditsri
I had the same experience with Splus5 on unix, a couple of years ago. We reported that to Mathsoft, but I don't think it was ever resolved. May be you should do the merge in R to create your new dat
I am using Splus6 on Windows platform. I am trying to load the bootstrap library called "BOOT" , which came along with Hinkley and Davison's book on bootstrap. I was successful in getting it to work
Thanks to Prof. Ripley and Angelo Canty for suggesting the download of the version of BOOT library for Splus6. They pointed out the following websites to download the new version: http://www.stats.ox