Displaying 19 results from an estimated 19 matches for "brostaux".
2003 Apr 02
4
randomForests predict problem
...to replace in matrix(...)
I did it the same way with rpart and all worked fine :
> library(rpart)
> sb.rp <- rpart(Class~., data=Soybean[-test,])
> sb.rp.pred <- predict(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-mail : brostaux.y at fsagx.ac.be
Web : http://www.fsagx.ac.be/si/
2002 Jun 18
2
Line width in graphs
Hi,
I'm using R to plot some data and associated linear models, and I was
wondering if there was a parameter to fix the line width in the graphs (for
axis, lines, ...) because I explored the associated help pages and could
not find it.
Thx in advance,
--
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-mail : brostaux.y at fsagx.ac.be
Web : http://www.fsagx.ac.be/si/
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-h...
2004 Nov 30
3
Creating a factor from a combination of vectors
...A> 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 advance.
--
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 69
Email: brostaux.y at fsagx.ac.be
2003 Apr 25
2
R compilation problem on Sun Solaris 2.5.1
...hod definition now... done
Error in gzfile (file, "wb"): unable to open connection
In addition: Warning message:
cannot open compressed file 'usr/share/src/R-1.7.0/library/methods/R/all.rda'
Execution halted
Does anybody know what mistake I made ? Thanks in advance,
--
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-mail : brostaux.y at fsagx.ac.be
Web : http://www.fsagx.ac.be/si/
2005 Mar 22
3
Lattice : factor levels in the margins
...lumns. It doesn't seems that xlab and ylab arguments
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? universitaire des Sciences agronomiques de Gembloux (FUSAGx)
8, avenue de la Facult?
B-5030 Gembloux
Belgique
T?l: +32 81 62 24 69
Email: brostaux.y at fsagx.ac.be
2003 May 28
3
Slow computation in for loop
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 a population
for (i in param1) {
for (j in param2) {
result <- function(i,
2005 Jan 21
2
Selecting a subplot of pairs
...etween x's and y's and excluding those within
x's and y's. I managed to recreate such a plot using a script with
layout(), axis() and so on, but I was wondering if there already exists
a clean function for 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 69
Email: brostaux.y at fsagx.ac.be
2005 Jan 10
3
Mixing portrait/landscape in a postscript file
...plots shoud be printed in a
portrait orientation to look better. I tried to include [...]
par.settings = list(horizontal=FALSE) [...] in the lattice plots
arguments, but with no success. Is there a 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?l: +32 81 62 24 69
Email: brostaux.y at fsagx.ac.be
2001 Nov 20
0
Formulating anova for partially nested model
...g every kind of aov models seeming sensible to me, read
the according chapters in MASS2 and still didn't succeed writing the
formula to obtain the results I expected (e.a. meth tested vs meth*op, mat
vs mat*op, etc.).
Can someone bring some light to my clouded mind ?
Thanks in advance,
Y. Brostaux
=====================================================================
YVES BROSTAUX - Ing?nieur agronome Orientation Eaux & For?ts
Assistant - Unit? de Statistique et Informatique
Gembloux Agricultural University
8, avenue de la Facult? B-5030 Gembloux (Belgium)
T?l: +32 (0)81...
2002 Nov 18
2
vector of center of
Hello
I have a vector gd of 279 values of diameter of limpets.
Using 'hist(gd, breaks=seq(10,60,5),plot=F)' I can obtain a vector of
10 centers of size-class ($mids).
But I'd like to work on a vector of 279 values being the mids (centers
of size-classes) corresponding to the respective 279 values in gd.
I looked in the different manuals and in archives of list but didn't find
2002 Jun 19
4
drawing ellipses
...emphasize groups of data. I found how
to trace circles with 'symbols()', but no ellipse. I'm planning on writing
my own function based on 'polygon()' and the ellipse equation. Does anybody
already have done similar work or have another solution ?
Thanks again,
--
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-mail : brostaux.y at fsagx.ac.be
Web : http://www.fsagx.ac.be/si/
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-h...
2002 Nov 22
3
simple test on slope of lm()
Hello
I want to compare the slope (let's say 'b') of a linear model obtained
with lm() to a theoretical value (let's say 'th').
To do so, I think I should compute a 't value' using
something like :
(b - 'th')/standard.deviation(b)
and then look at the p-value of this computed t.
I don't understand how to do this in a simple way, just using lm()
2002 May 28
4
id & filter problems in data.frame
Hi,
a questionaire data-set with more than one row for one Person make
me problems.
(1) i want create a function which count the used
row for the relevant id !
example:
id c.row
1 1
1 2
1 3
2 1
2 2
4 1
4 2
4 3
4 4
4 5
(2) i have got a problem to filter & analyse , because the filter
criteria is unlucky
a row above or under the ratings which i would like to
2003 May 09
3
Re: R-help Digest, Vol 2, Issue 26
With the same system configuration (WinNT4 SP6 and 1.7.0), I get such a Dr
Watson crash each time I try to use the Change dir... command in the File
menu of Rgui.exe. I doesn't seems to happen if I do this immediately after
starting R but well if I already did some computation.
I don't have any problem by using directly setwd().
At 12:10 23/04/03, you wrote:
>Date: Tue, 22 Apr 2003
2002 Nov 13
4
[Newbie] Is there any support for work with grouped frequencies?
Hi,
I have this table (BTW, published by FBI and representing age
distribution of the WTC tragedy victims):
"LABEL" "FREQ" "MIDPOINT"
"1" "Infant (under 1)" 0
"2" "1 to 4" 5
"3" "5 to 8" 1
"4" "9 to 12" 3
"5" "13 to 16" 0
"6" "17 to
2001 Oct 30
2
creating chron object aggregates (e.g. sums by day)
What is the recommended/optimal way to perform aggregates on data frames
with chron objects?
Here is an example:
>raw.data
1 07/09/01 4000
2 07/09/01 2000
3 07/11/01 1000
4 07/13/01 800
5 07/13/01 700
6 07/16/01 600
7 07/17/01 500
I'm trying to construct a function that would first aggregate the data
(second column) by day (grouping by the first column) according to a
2006 May 04
2
R pour débutant
Bonjour,
Je suis actuellement doctorant (en fin de th?se) et je vais avoir besoin de me
servir de R.
Devant apprendre R tout seul, je suis tomb? sur un mail de vous disant que vous
aviez r?aliser un tutorial sur ce logiciel pour des 100% d?butant comme moi
J'aurai essentiellement ? utiliser des algo de clustering (SOM ou Nu?e dyna) sur
des matrices pouvant faire 41x230
Cependant je
2003 Sep 24
0
Matching colors with lattice auto.key
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 default
settings. Isn't the auto-key feature normally taking its arguments from the
internal
2004 May 17
0
automated response
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 (statinfo at fsagx.ac.be)