[R] Lattice : factor levels in the margins

2005-03-22 Thread Yves Brostaux
ts could help doing this, as I can't insert multiple xlab's (x variable and A levels, or y variable and B levels) and can't decide which side to use for writing them. Does anybody have a hint ? Thank you very much ! -- Ir. Yves BROSTAUX Unité de Statistique et Informatique Faculté un

[R] Selecting a subplot of pairs

2005-01-21 Thread Yves Brostaux
or such a task, in case I would encounter this problem again ? -- Ir. Yves BROSTAUX Unité de Statistique et Informatique Faculté universitaire des Sciences agronomiques de Gembloux (FUSAGx) 8, avenue de la Faculté B-5030 Gembloux Belgique Tél: +32 81 62 24 6

[R] Mixing portrait/landscape in a postscript file

2005-01-10 Thread Yves Brostaux
way to mix different page orientation in a single postscript device that I missed ? -- Ir. Yves BROSTAUX Unité de Statistique et Informatique Faculté universitaire des Sciences agronomiques de Gembloux (FUSAGx) 8, avenue de la Faculté B-5030 Gembloux Belgique T

Re: [R] Creating a factor from a combination of vectors

2004-12-01 Thread Yves Brostaux
ownames can vary). Eric Lecoutre's code does exactly what I want, many thanks to both of you. Richard A. O'Keefe a écrit : Yves Brostaux <[EMAIL PROTECTED]> wrote: I want to produce a factor from a subset of the combination of two vectors. I have the vectors a et b in a data-fra

[R] Creating a factor from a combination of vectors

2004-11-30 Thread Yves Brostaux
[18] High Levels: Low < Medium < High I was looking for a vectorized solution (apply style) binding data-frames df and cas, but didn't succeed avoiding the for loop. Could anybody bring me the ligths over the darkness of my ignorance ? Thank you very much in

[R] automated response

2004-05-17 Thread Yves Brostaux
Je suis absent du bureau jusqu'au mardi 1er juin. Vous pouvez faire suivre les demandes urgentes au secrétariat de STATINFO qui transmettra à qui de droit ([EMAIL PROTECTED]) __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listi

[R] Matching colors with lattice auto.key

2003-09-24 Thread Yves Brostaux
Hello ! I try to plot some data with lattice function xyplot. These data are separated in two groups by a factor. If I let the default color and symbol settings, I get the right legent with auto.key. But if I change them by col and pch arguments, the plot is right but the legend still reflects

Re: [R] Slow computation in for loop

2003-05-28 Thread Yves Brostaux
size of 100, which took individually about 4 seconds at most, ran effectively in a little bit more than 15 minutes for the whole set. The problem arise with a sample size of 500, increasing single function computation time normally, but not the whole process !? At 11:37 28/05/03, you wrote: Yves Br

[R] Slow computation in for loop

2003-05-28 Thread Yves Brostaux
Dear members, I'm using R to do some test computation on a set of parameters of a function. This function is included in three for() loops, first one for replications, and the remaining two cycling through possible parameters values, like this : for (k in replicates) { data <- sampling from

RE: [R] randomForests predict problem

2003-04-02 Thread Yves Brostaux
0 phyllosticta-leaf-spotphytophthora-rot 3 5 powdery-mildew purple-seed-stain 4 5 rhizoctonia-root-rot 5 Cheers, And

Re: [R] randomForests predict problem

2003-04-02 Thread Yves Brostaux
Well, thank you for your answer, but this is not doing the right thing, that is predicting the Class value for the test set Soybean[test,]. It gives instead prediction for data used for forest computation (ignoring all data with NA's) ; 'data' argument is simply ignored as the right name for th

[R] randomForests predict problem

2003-04-02 Thread Yves Brostaux
(sb.rp, Soybean[test,], type="class") Thank you all for any advice you can give to me. -- Ir. Yves Brostaux - Statistics and Computer Science Dpt. Gembloux Agricultural University 8, avenue de la Faculté B-5030 Gembloux (Belgium) Tél : +32 (0)81 62 24 69 E