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

2007-08-08 Thread Charles Annis, P.E.
# par(mar = c(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]"

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

2007-08-08 Thread Charles Annis, P.E.
pe="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 PROTECT

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

2007-07-11 Thread Charles Annis, P.E.
ery other major 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,

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.
e", box.lty=0) You can look at the code 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]

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

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.
's "insert" to point to the new graphic. 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:

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.
n 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

Re: [R] Another newbie book recommandation question

2007-03-01 Thread Charles Annis, P.E.
Monte Carlo Statistical 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 PROTEC

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

Re: [R] R book advice

2007-02-15 Thread Charles Annis, P.E.
y as a mechanism 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 Se

[R] Hyperlinks in home-brew R packages

2007-02-13 Thread Charles Annis, P.E.
ty. In my compiled html files I have my e-mail address and homepage, however they do not have hyperlinks. How can I include the hyperlinks? (Or how did I mess up and have R CMD build not do that?) Thanks. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax:  614-455

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.
ensions<-matrix(c(strwidth(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. [E

Re: [R] R on Windows Vista

2007-01-16 Thread Charles Annis, P.E.
o difficult to figure out), 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 S

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 PRO

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] .First.lib

2006-11-18 Thread Charles Annis, P.E.
build --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:[

[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] 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

Re: [R] trouble loading example package

2006-11-16 Thread Charles Annis, P.E.
event. 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

[R] trouble loading example package

2006-11-15 Thread Charles Annis, P.E.
: cannot open compressed file 'mypkg/DESCRIPTION' But when I click on that file 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 tarba

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 Of

[R] tcltk difficulties

2006-11-04 Thread Charles Annis, P.E.
Jones _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 ma

[R] repeating symbols and colors

2006-11-01 Thread Charles Annis, P.E.
em too. Since the number 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.Statisti

Re: [R] exteremely confused (simple question)

2006-10-30 Thread Charles Annis, P.E.
owth Class 1 1 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 Fon

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.StatisticalEngineerin

Re: [R] R tcl/tk

2006-10-23 Thread Charles Annis, P.E.
TRUE) 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 <-

[R] R tcl/tk

2006-10-22 Thread Charles Annis, P.E.
2: tkconfigure(answer.button1, 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

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

2006-10-20 Thread Charles Annis, P.E.
dows XP machine, so 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 Bowm

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

2006-10-20 Thread Charles Annis, P.E.
es/R/R-2.4.0/library/file6fc97ac2/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.

[R] avoiding a loop?

2006-10-12 Thread Charles Annis, P.E.
sp1,Insp2,Insp3,Insp4,Insp5,Insp6,Insp7,Insp8,Insp9" I can do that with a loop, but isn't there a more elegant way? > result <- repeated.measures.FACTOR.names[[1]] > for(i in 2:length(repeated.measures.FACTOR.names)) { result <- paste(result, repeated.measures.FACTOR.names[[i]],

[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:

[R] impossible escape?

2006-10-11 Thread Charles Annis, P.E.
quot;, "\"", "default.FACTOR.labels <- c('Probe1', 'Probe2', 'Probe3'))") [1] "default.FACTOR.labels <- c(\"Probe1\", \"Probe2\", \"Probe3\"))" ^ ^ ^ ^ ^

[R] error in save.image

2006-10-08 Thread Charles Annis, P.E.
ws XP on a Dell with 2Meg. 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  

Re: [R] GLM information matrix

2006-09-29 Thread Charles Annis, P.E.
od surface.) 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 Anni

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

2006-09-28 Thread Charles Annis, P.E.
} Perfect! 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 Charles Annis, P.E. Sent: Thursday, September 28, 2006 10:13 PM To:

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

2006-09-28 Thread Charles Annis, P.E.
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 PLEASE do read the posting guide

Re: [R] t-stat Curve

2006-09-27 Thread Charles Annis, P.E.
n(P(abs(phantom(i)*Z*phantom(i))>1.96, H[1])==0.85, P(abs(phantom(i)*Z*phantom(i))>1.96,H[0])==0.05), bty="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 PR

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

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 PROTEC

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

2006-09-17 Thread Charles Annis, P.E.
Intercept) 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

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

Re: [R] screen resolution effects on graphics

2006-08-28 Thread Charles Annis, P.E.
Romain: > a <- tempfile() > cat(' document.write(screen.width) ; ', 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&quo

Re: [R] screen resolution effects on graphics

2006-08-28 Thread Charles Annis, P.E.
that the same R code on this machine 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:

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.
splayed; nothing created. But the DOS window DID open and something happened, 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 Grothend

Re: [R] screen resolution effects on graphics

2006-08-28 Thread Charles Annis, P.E.
.vbs', intern = TRUE), value = TRUE))) 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

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

[R] screen resolution effects on graphics

2006-08-28 Thread Charles Annis, P.E.
idn't 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

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

Re: [R] string-to-number SUMMARY

2006-08-19 Thread Charles Annis, P.E.
aster than the competition with some system.time trials. ____________ 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:

[R] string-to-number

2006-08-19 Thread Charles Annis, P.E.
rst person to attempt this, and 2) I've made this WAY harder than it is. Would 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] phon

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:

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] saving intermediate graphics

2006-07-12 Thread Charles Annis, P.E.
files, 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 PROTEC

[R] string problems with "\\" (Windows)

2006-07-09 Thread Charles Annis, P.E.
niversal way to find the name of a file at the end 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:

[R] another tcl/tk query

2006-07-08 Thread Charles Annis, P.E.
has. I must wait for the calling routine 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

[R] tcl/tk with R

2006-07-05 Thread Charles Annis, P.E.
t is incomplete and should also contain something like Themes[i], sep="" I am using R Version 2.3.1 (2006-06-01) on a DELL WindowsXP system 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.Stati

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

2006-06-19 Thread Charles Annis, P.E.
osite.expression,lwd=3,type="l",cex.lab=1.3) 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 Brian Phillip Weaver Sent: Monday, June 1

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

Re: [R] Re-binning histogram data

2006-06-08 Thread Charles Annis, P.E.
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:

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

2006-06-04 Thread Charles Annis, P.E.
u're 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 B

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

[R] programming advice?

2006-04-21 Thread Charles Annis, P.E.
d. 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 the posting guide! ht

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 PROTE

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 ---

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

2006-03-05 Thread Charles Annis, P.E.
="")==.(avar1)), adj=0) # Note that these look much 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://ww

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

[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")

Re: [R] Windows metafile problem

2006-02-17 Thread Charles Annis, P.E.
hings up. Otherwise the file will be there, but it won't be useable. So your final statement should be dev.off() Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 614-455-3265 http://www.StatisticalEngineering.com -Original Message- From: [EMAIL PROTECTED] [mai

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

2006-02-13 Thread Charles Annis, P.E.
7;time', 2=left 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.

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- Fr

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.Statis

Re: [R] Image Processing packages

2006-01-27 Thread Charles Annis, P.E.
from your 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

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 Me

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]

Re: [R] Goodness fit test HELP!

2005-12-03 Thread Charles Annis, P.E.
t;- runif(100) n.points <- length(my.data) 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. [EMAI

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 PROTEC

Re: [R] covariance analysis by using R

2005-11-25 Thread Charles Annis, P.E.
lot(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. Charl

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

2005-11-10 Thread Charles Annis, P.E.
nput. Thanks to all! 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 PR

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

2005-11-10 Thread Charles Annis, P.E.
cult as I have found it to be. Can 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/mail

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

2005-10-27 Thread Charles Annis, P.E.
LL 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 jon butchar Sent: Thursday, October 27, 2005 8:02 PM To: Srinivas Iyy

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] Coefficients from LM

2005-09-15 Thread Charles Annis, P.E.
" "formula" "terms" "data" [26] "offset""control" "method""contrasts" "xlevels" There are lots of ways to retrieve the parameter

Re: [R] Graphical presentation of logistic regression

2005-09-15 Thread Charles Annis, P.E.
ltitude, depend = 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: 56

Re: [R] remedial stats education

2005-09-12 Thread Charles Annis, P.E.
with S_, Fourth 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.Statistical

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.StatisticalEngi

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

2005-05-03 Thread Charles Annis, P.E.
Thank you, Professor Ripley. cbind(log(pr1$fit) - 1.96*pr1$se.fit/pr1$fit, log(pr1$fit) + 1.96*pr1$se.fit/pr1$fit) ... is precisely what had eluded me, self-evident though it appears after you have illuminated the way. Again, thank you. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352

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

2005-05-02 Thread Charles Annis, P.E.
I have tried everything I could imagine I cannot 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? Thank

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

2005-04-21 Thread Charles Annis, P.E.
.htm I've also 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

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 PROT

RE: [R] Johnson transformation

2005-01-20 Thread Charles Annis, P.E.
ty statements 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, 200

  1   2   >