Dear S-Users,<o:p></o:p> <o:p> </o:p> I'm trying to extract from an array x of arbitrary dimension in the following way :<o:p></o:p> <o:p> </o:p> y <- x[,1] #if x is length(dim(x)==2)<o:p></o:p> y <-
Thank you David for your answer. The problem is that myfct() is actually called from another function (say myfct.0) so the variable tmp in my example is not a global variable. In other words, eval("b
Would someone be gentle enough to describe to me what the general procedure is. I don't have the book Professor Ripley kindly referred to in his reply. Thank you, Patrick -- Brian D. Ripley, ripley@s
to Doug Meador who guided me to the solution (and thank you also to Yannis Tzamouranis, Winnie Lambert, Mark Leeds, Nick Ellis and Professor Brian D. Ripley): On Wed, 31 Mar 2004 Agin.Patrick@hydro.
using S-Plus with calls to C functions. It works very well but I'm wondering if there is mean to enter the C debugger while debugging the calls to C? I'm using Microsoft Visual C++ 7.0 and S-Plus 4.
Does anybody know how to specify to S-plus (ver 4.5) the tick labels? Specifically, the call is the following: levelplot(z~x*y,data=df) and I would like to have x and y labels as characters (somethi
My program is a simple loop function that generates for each pass "nt" multivariate normal vectors. I assign this random sample to the variable r, calculate for each line a weighted mean, put this r
Under Windows NT on Splus 4.5, I try to read a text file which contains in column 1 dates and in column 2 numbers. Here are the first few lines of the file: 12-Dec-85 10.05 04-Jan-86 10.55 11-Feb-86
Does someone know how to include weights in the S-Plus rdl1.s algorithm (developed by Hubert & Rousseeuw)? Of course, the algorithm already include a weighting scheme (based on distances of x points
I'm trying to import Microsoft Access table from my S-Plus 4.5 (Windows NT 4.0). I select « File - Import Data - from ODBC connection » and get the following message « Out of memory. Please free s
Hi everyone, Is the Singular Value Decomposition a good way to calculate the rank of a square matrix? I have the following problem: my matrix X (10x10) seems to be singular and thus not invertible. Y
Thank you to Fernando Quintana, Bruce Mcullough, Lane Bishop and Bill You were right, the matrix is invertible and solve(as.matrix(X)) does the work. Bill, I use Splus 4.5 and data.class(X) and class
s for several discrete "units". In the code below, index is a vector if integers 1 through n (for n units). The vector unit.text has labels for each unit p
why do I obtain all these warnings: WARNING: Point out of bounds: x = ..., y = ... (one for each point or line). I did a plot and I set the parameter "err" to -1. It doesn't seem to work even with t