[R] ANOVA table look

2011-01-25 Thread Keith Jones
: part, 20; op, 3 Fixed effects: Estimate Std. Error t value (Intercept) 22.3917 0.7211 31.05 The data is twenty parts, three operators with two replications of measurements on the twenty parts. Any help would be appreciated. Thanks, Keith Jones

[R] global variables in a function

2009-12-10 Thread Keith Jones
Y'all, I would like to have most of the variables in my function to be global instead of local. I have not found any references that tell me now to do that. If I have missed a reference please excuse me and tell me what I have missed. Thanks, Keith

[R] subset POSIXct

2009-06-22 Thread Keith Jones
subset of the rows where the minutes are 53. The hour is immaterial. I can not find a wildcard character to use to select the rows. as.character(wtd$dt) %in% "2009-06-21 ??:53:00" or as.character(wtd $dt) %in% "2009-06-21 **:53:00" does not work. What would you recomm

[R] Sweave removes \end{table}

2009-01-11 Thread Keith Jones
0.8 \\ \hline Grand Total &493 &\\ \hline \end{tabular} \label{tbl:sbbs} \section{Recommendations} If I put two \end{table} commands in the table only one is removed by Sweave. Has anyone else seen this? Thanks, Keith Jones, Ph.D. VTS Pumps

[R] Two Way ANOVA

2008-02-28 Thread Keith Jones
to be a list and I am having a hard time finding a way to get at the information in the summary. Could some one tell me how to go about it. Thanks, Keith Jones __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLE

[R] Cumulative sum of vector

2008-01-06 Thread Keith Jones
s/sum(eig$values) > prop [1] 0.986012163 0.009839832 0.004148005 > cum<-c(prop[1],sum(prop[1:2]),sum(prop[1:3])) > cum [1] 0.9860122 0.9958520 1.000 This works, but, if the length of the vector changes I have to manually change the code.

[R] R crashes in Leopard

2007-12-10 Thread Keith Jones
to do get a list of packages so I can download and install them? Thanks, Keith Jones __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html a

[R] CRAN Index Problems

2007-12-10 Thread Keith Jones
Hi, I am getting the following error: Warning: unable to access index for repository http://cran.hostingzero.com/bin/macosx/universal/contrib/2.6 with I run "Get List" in the Package Install window. I am running Leopard and 2.6.1. What can I do? Thanks, K

[R] Multiple calls to a function

2007-10-31 Thread Keith Jones
ction other than using the for loop. Any ideas? cel<-data.frame("R"=0,"RZ"=0,"CV"=0,"PVAL"=0,"INT"=0) for(i in 1:N) cel[i,]<-cezhpts(dat,np,cv) Thanks, Keith Jones __ R-help@r-project.org mailin

Re: [R] Sweave line length

2007-10-30 Thread Keith Jones
ocuments/DataFiles/TexasTechhd/Dissertation II/MathematicaFiles/PointPatternAnalysis/") it keeps the line in one piece. It will not break a line in between the quotes in a line. I will have to do that myself. 95% of the lines coded is a lot better then none. Thanks, Keith Jones >K

[R] Sweave line length

2007-10-30 Thread Keith Jones
eft", c("obs", "theo", "hi", "lo"), lty = c(1, 2, 3, >4), col = c(1, + 2, 6, 4, 0), cex = 1.5, pt.cex = c(3, 6), bty = "o", inset = 0.05) The line is about eleven (11) characters too long. Thanks, Keith Jones __

[R] Changing steps on a graphic axes

2007-10-25 Thread Keith Jones
Hi, I would like to tell R what increments to put the tick marks on an axes, e.g. xlim=seq(-5,5,1). I know that will not work. xlim will only except the beginning and end of the range for the axes. Thanks, Keith jones __ R-help@r-project.org