Re: [R] Relocating Axis Label/Title --2

2007-08-08 Thread Charles Annis, P.E.
=black, ylab = list(expression(paste(dN/dlogD[agg], [*cm^-3*]))), xlab = expression(paste(D[agg], [nm])), cex.lab=1.2 ) axis(2, mgp=c(0, 0.2, -2)) dev.off() Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original

Re: [R] Relocating Axis Label/Title --2 (Second try.)

2007-08-08 Thread Charles Annis, P.E.
(4.5, 4.5, 1, 1) + 0.1) ### plot(D_mean,y,type=l,yaxt=n,lty=2,lwd=2,col=black, ylab = list(expression(paste(dN/dlogD[agg], [*cm^-3*]))), xlab = expression(paste(D[agg], [nm])), cex.lab=1.2 ) axis(2, mgp=c(0, 0.2, -2)) dev.off() Charles Annis, P.E. [EMAIL PROTECTED] phone: 561

Re: [R] elementary statistics with R (rkward?)

2007-07-11 Thread Charles Annis, P.E.
bookseller, including the nearest university bookstore. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Donatas G. Sent: Wednesday, July 11, 2007 9

Re: [R] Split graphs

2007-07-09 Thread Charles Annis, P.E.
Jessie: How many pixels would you need to allocate for each of these 1000 parts? Is that feasible? Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED

Re: [R] Highliting a text in a plot

2007-06-23 Thread Charles Annis, P.E.
for legend (?legend) and modify it, or use parts of it for your own function. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Maja Schröter

Re: [R] Inverse BoxCox transformation

2007-06-18 Thread Charles Annis, P.E.
Look at the definition for the transform. For example in the car package, ?box.cox Then do the simple algebraic manipulations yourself. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: [EMAIL

Re: [R] How to specify the start position using plot

2007-06-10 Thread Charles Annis, P.E.
plot( x=rnorm(25, 0.5, 0.3), y=rnorm(25, 4, 1), xlim=c(0,1), ylim=c(2,7)) # ^^ for example Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original

Re: [R] Excel calling R functions

2007-06-01 Thread Charles Annis, P.E.
You might consider having R do everything: R can read the Excel sheet, do what needs to be done, and write the results to an Excel sheet. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From

Re: [R] graphics edge in win.metafile?

2007-05-26 Thread Charles Annis, P.E.
. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of LL Sent: Saturday, May 26, 2007 1:14 PM To: LL; r-help@stat.math.ethz.ch Subject: [R

Re: [R] Truncating trailing digits

2007-05-03 Thread Charles Annis, P.E.
Perhaps format is what you are looking for: ?format Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pietrzykowski, Matthew (GE

Re: [R] RWinEdt and Windows Vista

2007-04-28 Thread Charles Annis, P.E.
on the icon, as usual.) To do that, right-click on the program's icon and choose Run as administrator. Perhaps this will solve your RWinEdt problems as well. Best wishes! Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original

Re: [R] Another newbie book recommandation question

2007-03-01 Thread Charles Annis, P.E.
Methods, Springer, 1999 15. Venables and Ripley, Modern Applied Statistics with S, 4th ed., Springer, 2002 Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: [EMAIL PROTECTED] [mailto

Re: [R] Random Integers

2007-02-25 Thread Charles Annis, P.E.
Sure. rpois(n, lambda) ... will do it. But you should tell us something about how you want your numbers to be distributed, since rpois() produces integers having a Poisson distribution. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http

Re: [R] Updating or installing R packages on Windows Vista

2007-02-22 Thread Charles Annis, P.E.
Or you can right-click on the R icon and choose Run as administrator. That way you won't alter the security settings and forget to re-set them. After the packages are installed R will load in the usual way by clicking on the icon. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax

Re: [R] R book advice

2007-02-15 Thread Charles Annis, P.E.
for implementing the statistical thinking you've acquired. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Lynch Sent: Thursday, February 15, 2007

Re: [R] installing packages and windows vista

2007-02-07 Thread Charles Annis, P.E.
Thank you Dan! I dunno if I would have ever found that. Thanks! Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED

Re: [R] Text position in Traditional Graphics

2007-01-24 Thread Charles Annis, P.E.
(expression(theta),cex=5),strheight(expression( theta), cex=5)),nrow=1) symbols(0.5,0.5 ,rectangle=dimensions,bg='white',fg='white',add=TRUE,inches=FALSE) text(0.5,0.5,expression(theta),cex=5) ~ Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax

Re: [R] R on Windows Vista

2007-01-16 Thread Charles Annis, P.E.
), then install the libraries, then re-set the security levels. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sicotte, Hugues Ph.D. Sent

Re: [R] persistant: Matlab-R

2006-12-14 Thread Charles Annis, P.E.
It might be helpful to those not familiar with Matlab to tell us what function persistent does. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED

[R] .First.lib

2006-11-18 Thread Charles Annis, P.E.
place. Is there a way that I can use R CMD build --binary, with its zip file output, but substitute my .First.lib function for the default? Thanks for any help. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax:  614-455-3265 http://www.StatisticalEngineering.com

Re: [R] .First.lib

2006-11-18 Thread Charles Annis, P.E.
--binary. Should I just declare a namespace and use onLoad, or is there a mechanism to use my own .First.lib? Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: Prof Brian Ripley [mailto:[EMAIL

Re: [R] .First.lib

2006-11-18 Thread Charles Annis, P.E.
, loaded the new package and there were my new menus. Thanks again. Sheepishly, Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Charles Annis

Re: [R] trouble loading example package

2006-11-16 Thread Charles Annis, P.E.
. Still struggling. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Prof Brian Ripley Sent: Thursday, November 16, 2006 4:44 AM

Re: [R] trouble loading example package

2006-11-16 Thread Charles Annis, P.E.
. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Benilton Carvalho Sent: Thursday, November 16, 2006 12:38 AM To: [EMAIL PROTECTED] Cc: r-help

[R] trouble loading example package

2006-11-15 Thread Charles Annis, P.E.
in the tarball it opens and shows me what I expected. I had hoped that I had weathered the hard part - building the package - but I still need some help: 1) How do I get a zipped file, rather than a tarball, 2) How do I install what I've built? Thanks in advance. Charles Annis, P.E. [EMAIL

[R] tcltk difficulties

2006-11-04 Thread Charles Annis, P.E.
_Practical Programming in Tcl and Tk_ but would appreciate any help from fellow R users. Many thanks. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax:  614-455-3265 http://www.StatisticalEngineering.com   __ R-help@stat.math.ethz.ch mailing

Re: [R] tcltk difficulties

2006-11-04 Thread Charles Annis, P.E.
Thank you, Peter. The code provides a great example of packing the widget nicely too. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

[R] repeating symbols and colors

2006-11-01 Thread Charles Annis, P.E.
of available colors and available symbols differ, the color/symbol combinations will be unique for the recycled usage. Thanks for your counsel. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax:  614-455-3265 http://www.StatisticalEngineering.com

Re: [R] exteremely confused (simple question)

2006-10-30 Thread Charles Annis, P.E.
4808 0.86212 0.0066964 S 3 3 2084 0.93579 0.4407900 S Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Fonnesbeck Sent

Re: [R] R tcl/tk

2006-10-23 Thread Charles Annis, P.E.
) tcl.tk.example(PROBLEM = FALSE) to turn the problem on and off. I have also attached a tcl.tk.example.txt file since these long inclusions within an R-help note often have the line feeds missing. Thank you for your insights. Charles Annis, P.E. ### tcl.tk.example - function

Re: [R] R tcl/tk

2006-10-23 Thread Charles Annis, P.E.
D'oh! You are right of course. How very obvious these things are on the other side of the solution. I spent the entire weekend and completely missed it. Thanks! Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com

[R] R tcl/tk

2006-10-22 Thread Charles Annis, P.E.
, variable=buttonValue, value=TRUE) tkgrid(tklabel(frame.2, text=Question?yes ), answer.button1, sticky=e) ^^^ I know this can not be as hard as I am making it. Thanks for the help. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352

[R] R-2.4.0 and MS Vista OS - installing packages

2006-10-20 Thread Charles Annis, P.E.
/RColorBrewer/chtml/RColorBrewer.chm' Any help would be appreciated. Thanks. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax:  614-455-3265 http://www.StatisticalEngineering.com   __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch

Re: [R] R-2.4.0 and MS Vista OS - installing packages

2006-10-20 Thread Charles Annis, P.E.
the restarts are not onerous. Many thanks to you all! Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Clint Bowman Sent: Friday

[R] avoiding a loop?

2006-10-12 Thread Charles Annis, P.E.
? result - repeated.measures.FACTOR.names[[1]] for(i in 2:length(repeated.measures.FACTOR.names)) { result - paste(result, repeated.measures.FACTOR.names[[i]], sep=,) } result [1] Insp1,Insp2,Insp3,Insp4,Insp5,Insp6,Insp7,Insp8,Insp9 Thanks. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699

[R] impossible escape?

2006-10-11 Thread Charles Annis, P.E.
] default.FACTOR.labels - c(\Probe1\, \Probe2\, \Probe3\)) ^ ^ ^ ^ ^ ^ which gives me \ rather than Is it possible to escape the character? Thanks. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax:  614-455-3265 http

[R] FW: impossible escape?

2006-10-11 Thread Charles Annis, P.E.
D'oh! I've been using cat() but somehow never got the bigger picture. Thanks!!! Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: Marc Schwartz [mailto:[EMAIL PROTECTED] Sent: Wednesday

[R] error in save.image

2006-10-08 Thread Charles Annis, P.E.
. Thanks. Charles Annis, P.E. PS - Yes, I have upgraded to R version 2.4.0 (2006-10-03) but do not want to change in the middle of a project. [EMAIL PROTECTED] phone: 561-352-9699 eFax:  614-455-3265 http://www.StatisticalEngineering.com   __ R-help

Re: [R] GLM information matrix

2006-09-29 Thread Charles Annis, P.E.
.) You may be looking for the resulting confidence bounds on the glm fit for which I also have code that iteratively interrogates the loglikelihood surface without plotting it. If any of this is interesting, please send me a note so we won't clog the bandwidth. Charles Annis, P.E. [EMAIL

[R] control L to clear the Rgui screen in Windows

2006-09-28 Thread Charles Annis, P.E.
counsel. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax:  614-455-3265 http://www.StatisticalEngineering.com   __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http

[R] SUMMARY control L to clear the Rgui screen in Windows

2006-09-28 Thread Charles Annis, P.E.
Eternal thanks to Jim Holtman and to Gabor Grothendieck who pointed me to this concise piece of code: cls - function() { require(rcom) wsh - comCreateObject(Wscript.Shell) comInvoke(wsh, SendKeys, \014) invisible(wsh) } Perfect! Thanks! Charles Annis, P.E

Re: [R] t-stat Curve

2006-09-27 Thread Charles Annis, P.E.
=n) text(0, .2, quote(H[0]:~~mu[1]==mu[2])) text(3, .2, quote(H[1]:~~mu[1]==mu[2]+delta)) # Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: [EMAIL

Re: [R] Statitics Textbook - any recommendation?

2006-09-20 Thread Charles Annis, P.E.
with R_ (Springer 2002). The writing is relaxed and succinct, not condescending as some texts might appear to a newcomer. It's just a good book. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From

Re: [R] acos(0.5) == pi/3 FALSE

2006-09-18 Thread Charles Annis, P.E.
How close do you think it should be, given finite resolution with digital computing? acos(0.5) - pi/3 [1] 2.220446e-16 Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: [EMAIL PROTECTED

Re: [R] Standard error of coefficient in linear regression

2006-09-17 Thread Charles Annis, P.E.
) exped 5.2394254 0.9294818 Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios Rizopoulos Sent: Sunday, September 17, 2006 3

Re: [R] .Rprofile under Windoze.

2006-08-30 Thread Charles Annis, P.E.
Under Windows mine is located here C:\Program Files\R\R-2.3.1\library\base\R The file name, however is not .Rprofile, but rather Rprofile Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From

[R] screen resolution effects on graphics

2006-08-28 Thread Charles Annis, P.E.
anticipate it. My code will be used on machines with varying graphics (and memory) capacity. Is there a way I can check the native resolution of the machine so that I can make adjustments to my code for the possible limitations of the machine running it? Thanks. Charles Annis, P.E. [EMAIL PROTECTED

Re: [R] screen resolution effects on graphics

2006-08-28 Thread Charles Annis, P.E.
Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of bogdan romocea Sent: Monday, August 28, 2006 10:55 AM To: [EMAIL PROTECTED] Cc: r-help

Re: [R] screen resolution effects on graphics

2006-08-28 Thread Charles Annis, P.E.
))) The DOS window opened, some magic occurred in the blink of an eye, and the DOS window closed. I haven't the foggiest idea what to do next since I can see no evidence of having done anything. Thanks for your patience. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265

Re: [R] screen resolution effects on graphics

2006-08-28 Thread Charles Annis, P.E.
, but I don't know what. Agin thanks for your patience. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: Gabor Grothendieck [mailto:[EMAIL PROTECTED] Sent: Monday, August 28, 2006 2:21 PM

Re: [R] screen resolution effects on graphics

2006-08-28 Thread Charles Annis, P.E.
Using sub rather than gsub appears to have no effect. The DOS window opens, then closes having had no noticeable effect. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: Gabor Grothendieck

Re: [R] screen resolution effects on graphics

2006-08-28 Thread Charles Annis, P.E.
generates a crowded jpeg on the older machine. My hope was to check the capability of the current machine and make some modest adjustments to my R code to produce an acceptable jpg on any machine running it. Thanks. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265

Re: [R] screen resolution effects on graphics

2006-08-28 Thread Charles Annis, P.E.
Romain: a - tempfile() cat('htmlscript type=text/javascript document.write(screen.width) ; /script/html', file=a) browseURL(a) The object a was created, but no browser opened. ls() [1] a a [1] C:\\DOCUME~1\\CHARLE~1\\LOCALS~1\\Temp\\RtmpRgWrqb\\file678418be Charles Annis, P.E

Re: [R] help with pasting + expressions?

2006-08-23 Thread Charles Annis, P.E.
Please visit the R site http://www.r-project.org/ and search the mailing list for paste expression We discussed the topic recently. The trick is that you don't paste expressions, you make an expression containing paste. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455

[R] string-to-number

2006-08-19 Thread Charles Annis, P.E.
some kind soul please instruct me (and perhaps subsequent searchers) how to convert the elements of a string into numbers? Thank you. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax:  614-455-3265 http://www.StatisticalEngineering.com

Re: [R] string-to-number SUMMARY

2006-08-19 Thread Charles Annis, P.E.
. Many thanks to all. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Charles Annis, P.E. Sent: Saturday

Re: [R] greek letters, text, and values in labels

2006-07-25 Thread Charles Annis, P.E.
This'll work. theta - 2.1 plot(NA, xlim=c(0,1), ylim=c(0,1), xlab=bquote(theta == .(theta)), ylab=bquote(theta == .(theta)), main=bquote(paste(Results for ,theta == .(theta Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http

[R] saving intermediate graphics

2006-07-12 Thread Charles Annis, P.E.
, but closing the file with dev.off() to produce the first graphic means that I can't add to that and produce the subsequent graphic and file. Is there a way to do this without generating the entire plot from the beginning for each graphic? Thanks Charles Annis, P.E. [EMAIL PROTECTED] phone

Re: [R] saving intermediate graphics

2006-07-12 Thread Charles Annis, P.E.
Wow! Exactly what I needed. Thank you, Professor Ripley! Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Prof Brian Ripley Sent

[R] string problems with \\ (Windows)

2006-07-09 Thread Charles Annis, P.E.
of a string with \\ separators. Can I get there from here? (I've looked through previous R-help listing of similar problems but if it's there, I missed it.) Thanks. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax:  614-455-3265 http://www.StatisticalEngineering.com

[R] another tcl/tk query

2006-07-08 Thread Charles Annis, P.E.
to end before I can use the new info, which is correctly place in the workspace, in subsequent R routines. Is there a way I can use the updated values in the same routine that created the widget? Thanks for your advice – and patience. Charles Annis, P.E. PS - I did read Prof. Ripley's post of Wed

[R] tcl/tk with R

2006-07-05 Thread Charles Annis, P.E.
with 2 gig RAM. Many thanks for your counsel. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax:  614-455-3265 http://www.StatisticalEngineering.com   __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] Display Conditional Probabilities on y-label

2006-06-19 Thread Charles Annis, P.E.
The trick is not to paste expressions but to make an expression of the pastes: composite.expression - expression(paste(f(x | , alpha, , , beta, ))) dev.off() par(mar=c(5,5,1,1)+0.1) plot(NA,xlim=c(0,1), ylim=c(0,3),xlab=x,ylab=composite.expression,lwd=3,type=l,cex.lab=1.3) Charles Annis

Re: [R] Yahoo data download problem

2006-06-16 Thread Charles Annis, P.E.
Why create an enormous matrix? Why not read each company's info and immediately write it to the file using write.csv( ... append = TRUE ...)? ^ Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http

Re: [R] Re-binning histogram data

2006-06-08 Thread Charles Annis, P.E.
with the Department of Statistics at the University of South Carolina, but as of May 2006 with the Department of Statistics at Texas A M University, http://www.stat.sc.edu/~west/javahtml/Histogram.html and http://www.stat.tamu.edu/~west/ Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614

Re: [R] slanted ends of horizontal lines for certain line widths

2006-06-04 Thread Charles Annis, P.E.
happy with the defaults.) And the line end, lend=2, makes the ends square. Best wishes. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

[R] programming advice?

2006-04-21 Thread Charles Annis, P.E.
. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax:  614-455-3265 http://www.StatisticalEngineering.com __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R

Re: [R] programming advice?

2006-04-21 Thread Charles Annis, P.E.
Many thanks to Duncan Murdoch, Thomas Lumley, Patrick Burns, and Seth Falcon, for the illuminating advice, which will be found in the R-help archives. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message

Re: [R] how to change legend size in a figure

2006-04-18 Thread Charles Annis, P.E.
cex=0.8 (or whatever you like) as in legend(0.3,0.4,c(name1,name2,...),col=1:20,lty=1:20, cex=0.8) Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED

Re: [R] nls start values

2006-03-11 Thread Charles Annis, P.E.
Please give us an EXAMPLE of the loop you have in mind. (It's likely that you can use simpler methods than a loop, but without an example we'd be guessing.) Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original

Re: [R] plotting partial deriviatives

2006-03-05 Thread Charles Annis, P.E.
Vielen Dank, Uwe! I dunno how I missed it. Looking only at the demo(plotmath), I guess. Thanks again! Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [R] how to make plotmath expression work together with paste

2006-03-05 Thread Charles Annis, P.E.
the same but how they're constructed is rather different. Also, have a look at ?substitute and ?bquote Best Wishes, Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: [EMAIL PROTECTED] [mailto

[R] plotting partial deriviatives

2006-03-04 Thread Charles Annis, P.E.
(0,1.6), xlab=, ylab=, tck=-0.015) text(1.6, 1, expression(paste(slope = , frac(paste( f( , hat(theta), )), hat(theta))), sep=), adj=0) text(2.25, 1.03, \\pd, vfont=c(sans serif,plain)) text(2.3, 0.934, \\pd, vfont=c(sans serif,plain)) Thanks. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561

Re: [R] Survreg(), Surv() and interval-censored data

2006-02-13 Thread Charles Annis, P.E.
censored, 3=interval censored. Although unusual, the event indicator can be omitted, in which case all subjects are assumed to have an event. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message

Re: [R] Tobit Regression (residual Assumption)

2006-02-12 Thread Charles Annis, P.E.
Go to the R site and look. http://www.r-project.org/ There has been some recent traffic on this topic. Click on search: Tobit Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: [EMAIL

Re: [R] plots

2006-02-11 Thread Charles Annis, P.E.
You could substitute lines(kernelgraf) for your last line: points(kernelgraf, xlab=Probability, xlim=c(0,100), ylim=c(0,.1), col=rgb(0,0,1), main=) See ?lines Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com

Re: [R] Image Processing packages

2006-01-27 Thread Charles Annis, P.E.
website. Thanks. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kort, Eric Sent: Thursday, January 26, 2006 2:39 PM To: Thomas Kaliwe; r

Re: [R] In which application areas is R used?

2006-01-23 Thread Charles Annis, P.E.
Please don't forget engineering! (e.g. fatigue and reliability - censored regression and survival; quantitative nondestructive evaluation - GLM) Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message

Re: [R] bookmarking a page inside r-project.org

2006-01-02 Thread Charles Annis, P.E.
You can do something similar with Microsoft's browser but it isn't quite as easy as Foxfire: Right-click on the frame and choose Properties. Then highlight and copy the URL and paste into the address window and click Go. Then save the page. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561

Re: [R] Goodness fit test HELP!

2005-12-03 Thread Charles Annis, P.E.
) expected.cdf - ((1:n.points)-0.5)/(n.points) qqplot(my.data, expected.cdf, las=1) # Use the interocular trauma test for goodness-of-fit: my.lm - lm(expected.cdf ~ sort(my.data)) abline(coef=coef(my.lm), lty=2) Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http

Re: [R] bimodal data

2005-12-02 Thread Charles Annis, P.E.
Your problem sounds like it could be modeled with logistic regression whereby the propensity for one result or another is linked to the factors that control it. Logistic regressions are a special case of generalized linear models. Look at ?glm Charles Annis, P.E. [EMAIL PROTECTED] phone: 561

Re: [R] covariance analysis by using R

2005-11-25 Thread Charles Annis, P.E.
(data.df$x, data.df$y, log=xy) This plot suggests that while Experiments B and C might have a similar relationship between x and y, Experiment A differs. Since I know nothing of the physical meaning of these observations I am unqualified to comment further. Best wishes. Charles Annis, P.E. [EMAIL

[R] converting a character string to a subscripted numeric variable

2005-11-10 Thread Charles Annis, P.E.
anyone help? Copious Thanks. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax:  614-455-3265 http://www.StatisticalEngineering.com   __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] converting a character string to a subscripted numeric variable

2005-11-10 Thread Charles Annis, P.E.
! Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: Sundar Dorai-Raj [mailto:[EMAIL PROTECTED] Sent: Thursday, November 10, 2005 5:00 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re

Re: [R] How to make labels on my dendrogam look more clear and visible

2005-10-27 Thread Charles Annis, P.E.
machine. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of jon butchar Sent: Thursday, October 27, 2005 8:02 PM To: Srinivas Iyyer Cc: r

Re: [R] Animation of Mandelbrot Set

2005-10-05 Thread Charles Annis, P.E.
Works well with both IE and Firefox on my 2 year old DELL WinXP machine. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gabor

Re: [R] multiple plots on same x axis

2005-09-27 Thread Charles Annis, P.E.
Try plot(Day, gene1) lines(Day, gene2) see ?lines for more details. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of IAIN

Re: [R] Graphical presentation of logistic regression

2005-09-15 Thread Charles Annis, P.E.
= tree, logi.mod = 1, type = dit, boxp = TRUE, rug = TRUE, las.h = 1) which does not use the histograms but instead uses dit plots to provide a helpful, visceral feel for the behavior of the observations. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http

Re: [R] Coefficients from LM

2005-09-15 Thread Charles Annis, P.E.
$coeff (Intercept)altitude 13.43360163 -0.01220884 mod3$coef[2] altitude -0.01220884 as.numeric(mod3$coef[2]) [1] -0.01220884 Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From

Re: [R] remedial stats education

2005-09-12 Thread Charles Annis, P.E.
Edition. Springer, 2002. ISBN 0-387-95457-0. http://www.stats.ox.ac.uk/pub/MASS4/. This book is more demanding and covers a broad spectrum of contemporary statistical practice. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com

Re: [R] Off Topic Simulation Techniques.

2005-07-27 Thread Charles Annis, P.E.
_Monte Carlo Statistical Methods_ by Christian P. Robert, George Casella Springer, 2nd ed 2005 This book (I have edition 1) is a dandy. It will be rough sledding unless you have a reasonable background in math stats but I think it is just what you are looking for. Charles Annis, P.E. [EMAIL

Re: [R] question from environmental statistics

2005-07-15 Thread Charles Annis, P.E.
?qqplot Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, July 15, 2005 9:03 PM To: r-help

Re: [R] using index of a loop as a macro variable

2005-07-04 Thread Charles Annis, P.E.
x - rep(NA, 3) for (i in 1:length(x)){ x[i] - ... } will do the job, but you may be able to take advantage of R's vectorization and do what you want with no loop at all. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com

[R] comparing lm(), survreg( ... , dist=gaussian) and survreg( ... , dist=lognormal)

2005-05-02 Thread Charles Annis, P.E.
reconcile the differences. I believe that the confidence bounds for both models should agree. After all, both calls to survreg() produce identical parameter estimates. So I have missed something. Would some kind soul please point out my error? Thanks. Charles Annis, P.E. [EMAIL PROTECTED] phone

RE: [R] Using R to illustrate the Central Limit Theorem

2005-04-21 Thread Charles Annis, P.E.
included an explanation of what is happening at each iteration. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Smith Sent: Thursday, April

RE: [R] GLM fitting

2005-01-28 Thread Charles Annis, P.E.
Vito: Please plot your data: y - c(1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0) x - c(37, 35, 33, 40, 45, 41, 42, 20, 21, 25, 27, 29, 18) plot(x, y) You will see that ANY step function between 29 x 33 will describe these observations perfectly. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561

RE: [R] Johnson transformation

2005-01-20 Thread Charles Annis, P.E.
for them. Best wishes. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, January 20, 2005 10:16 AM To: r

RE: [R] Exact poisson confidence intervals

2005-01-13 Thread Charles Annis, P.E.
=agresti1998 when searching for approximate is better than exact Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Spencer Graves Sent

RE: [R] t-test pvalue

2004-12-29 Thread Charles Annis, P.E.
pt(q, ...) returns the area to the left of q. The area to the left of 2.23 for your situation is 0.975, while the area to the left of -2.23 (which is on the left side of zero from 2.23) is 0.025. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http

RE: [R] plots

2004-12-27 Thread Charles Annis, P.E.
Yes. Assuming you are using R in Windows, right click on the plot, and choose Save as metafile, or more expeditiously, Copy as metafile, and then paste directly into your WORD document. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http

  1   2   >