Re: [R] error returned by "make check" in R-2.5.0

2007-04-28 Thread Eric Thompson
5 compiler (./configure F77=g95), the eigen test gives > abs(lam - lam2[i])/Meps [1] 48.0 10.0 10.5 9.0 6.0 So, I suppose I will use the g77 compiler. Eric Thompson Tufts University Civil & Environmental Engineering Graduate Student > On Fri, 27 Apr 2007, Eric Thompson wrote: > >

Re: [R] acf and pacf plot

2007-04-27 Thread Eric Thompson
The lines indicate the confidence interval (95% by default). I think you mean that it is not documented in help(acf), but it directs you to plot.acf in the "See Also" secion. >From ?plot.acf: Note: The confidence interval plotted in 'plot.acf' is based on an _uncorrelated_ series and s

[R] error returned by "make check" in R-2.5.0

2007-04-27 Thread Eric Thompson
3.15850637323 -2.50744891774 -1.62994940108 0.68499738238 > print(i <- rev(order(lam2))) [1] 1 2 5 4 3 > stopifnot(abs(lam - lam2[i]) < 60 * Meps) > abs(lam - lam2[i]) < 60 * Meps [1] TRUE TRUE TRUE TRUE TRUE I'm not sure what to do next, or how serious of a problem this might

Re: [R] x-axis labeling between thickpoints

2007-02-04 Thread Eric Thompson
I think you want the 'at', 'labels', and 'tick' arguments of axis(). This should essentially get you what you want: > hist(rnorm(100), axes = F) > axis(side = 1, at = -3:3, lab = F) > axis(side = 1, at = (-3:3)+0.5, tick = F) On 2/4/07, René Cyranek <[EMAIL PROTECTED]> wrote: > Hello! > > I am

Re: [R] Help for L-moment Ratio Diagram

2006-12-04 Thread Eric Thompson
I think there are a few packages for doing this. I have used "lmomco": the function lmom.ub() will calculate the sample lmoments, and lmrdia() gives theoretical lmoments for different distributions. Hope this is helpful. Eric On 12/4/06, amna khan <[EMAIL PROTECTED]> wrote: > Respected Sir > >

Re: [R] delete content of directory - unlink doesn't work as expected

2006-11-28 Thread Eric Thompson
This has worked for me: system("rm path/*") On 11/28/06, Hans-Peter <[EMAIL PROTECTED]> wrote: > Hi, > > I try to delete the files in a directory. While the command > > invisible(lapply( list.files( "DeleteThis" ), function(x) > file.remove(paste("DeleteThis", x, sep="/" )) )) > > works, I keep

[R] Single precision data behaviour with readBin()

2006-11-09 Thread Eric Thompson
ng from. So I also don't know if this use of signif() will be reliable for all possible values. What about a value of 1.2e-8? Will this be read in as: > signif(1.2034e-8, digits = 7) [1] 1.2e-08 or could this occur?: > signif(1.2000034e-8, digits = 7) [1] 1.23e-08 Thanks f