While we're at it: character values in a MS Excel 97 file created via a formula get imported to S-Plus as NA. Like several other bugs that I've reported and MathSoft has acknowledged in S-Plus 4.5, t
I had asked the following: Rick provided me the following code that could be modified to automatically save a series of single-sheet sgr files that could then be brought into the Powerpoint wizard: F
Last Thursday I spent nearly a full day trying to figure this out. It was a special kind of pain since For() didn't report any error messages, it just didn't do any work for me. The fix on my deskto
Say I have a matrix a and b <- a%*%t(a). So b[i,j] = sum(a[i,]*a[j,]). I want a matrix operator to use instead of %*% so that b[i,j] = sum(pmin(a[i,],a[j,])). I can use loops like: b <- matrix(NA, nr
Has anyone had luck using the free Cygnus C/C++ compiler (http://www.cygnus.com/misc/gnu-win32/) to create a dll that could be accessed with S-Plus 4 or 4.5? What are the tricks? Ed -- Edward Callaha
Try, You'll get a matrix in the form you desire that you can coerce to a dataframe if necessary. Ed -- Edward Callahan Environmental Statistics callahan@envstat.com PO Box 563 Fountain City, WI 5462
If you have two curves f(x) and g(x) you could try using the function uniroot to solve for a value of x where f(x)-g(x)=0. You'll need to be careful if the curves cross in more than one place. Ed --