Hello,
Many thanks to all S+ users for answering so quickly to my question on hiw
to plot the area under the curve.
The answer is to use polygon.
Nicholas Barrowman <barrowma@mathstat.dal.ca> send me a function to colour
the gap
between two curves (which you can use with the bottom curve ylow=
rep(0,length(yhi)) ) :
confshade <- function(x,ylo,yhi,col=8) {
#
# Draw a [Shade]d [Conf]idence band.
#
n <- length(x)
for (i in 1:(n-1)) {
polygon(c(x[i],x[i+1],x[i+1],x[i]),c(ylo[i],ylo[i+1],yhi[i+1],yhi[i]),
col=col,border=F)
}
}
Now, concerning .Program.
(Splus 2000 for NT, 4.5 for NT).
Does anyone try the "dot.program" included in exemple?
As I use it (or a little bit modified version of it), I can't exit. Even if
I put the old .Program, there is still any unavalueted function.
Does someone know the entire reference given in help for .Program?
(Becker RA, Chambers JM, Wilks AR)
Where could I find more info (if possible) on .Program?
Is there any equivalent in R ?
TIA
Eric
____________________________________________________________________________
______
Eric LECOUTRE
Rue de la Gare, 5/001
1348 Louvain-La-Neuve
Belgique
(0032) 10 45 20 32
lecoutre@stat.ucl.ac.be
-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news
|