search for: keithlj

Displaying 10 results from an estimated 10 matches for "keithlj".

Did you mean: keithl
2009 Jun 23
3
subset POSIXct
Hi, I have a data frame with two columns: dt and tf. The dt column is datetime and the tf column is a temperature. dt tf 1 2009-06-20 00:53:00 73 2 2009-06-20 01:08:00 73 3 2009-06-20 01:44:00 72 4 2009-06-20 01:53:00 71 5 2009-06-20 02:07:00 72 ... I need a subset of the rows where the minutes are 53. The hour is immaterial. I can not find a wildcard
2009 Dec 10
2
global variables in a function
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 Jones
2007 Oct 25
2
Changing steps on a graphic axes
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
2008 Jan 05
2
Cumulative sum of vector
Hi, Maybe I have not been looking in the right spot, but, I have not been able to fine a command to automatically calculate the running cumulative sum of a vector. Is there such a command? Example of current code: > eig$values [1] 678.365651 6.769697 2.853783 > prop<-eig$values/sum(eig$values) > prop [1] 0.986012163 0.009839832 0.004148005 >
2007 Oct 30
1
Sweave line length
Hello, I am trying to add R code to my dissertation and the length of a line of text that Sweave generates is longer than the right margin in my dissertation. I have found no way to tell Sweave how to set the line length. I am using an iMac with tiger ver. 10.4.10, and R: ver. 2.5.1. Here is the R code that is longer than my right margin: input to Sweave:
2007 Oct 31
1
Multiple calls to a function
Hi y'all, I wrote two functions; 1) sparsely samples a point pattern and calculates the Clark Evans R value and Z score, 2) calls the first function multiple times using a for loop and generates a histogram. I would like to know if there is a more efficient way of calling the first function other than using the for loop. Any ideas?
2007 Dec 10
1
CRAN Index Problems
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, Keith Jones
2007 Dec 10
0
R crashes in Leopard
Hi, I have upgraded to Leopard and I just installed 2.6.1. I opened R and then I opened package installer and clicked "get List". After about five seconds R stopped responding. and Leopard reported that R had stopped responding and wanted to sent a report to Apple. What do I need to do get a list of packages so I can download and install them? Thanks, Keith Jones
2011 Jan 25
0
ANOVA table look
Y'all, I need to get the look of a "standard" fixed effect ANOVA table: anova(aov(meas~op*part,data=fs)) Analysis of Variance Table Response: meas Df Sum Sq Mean Sq F value Pr(>F) op 2 2.62 1.308 1.3193 0.2750 part 19 1185.43 62.391 62.9151 <2e-16 *** op:part 38 27.05 0.712 0.7178 0.8614 Residuals 60 59.50 0.992 when I perform a
2008 Feb 29
2
Two Way ANOVA
Hi, I am using the: pcf.aov<-aov(meas~op+part, data=pcf.ex2), command to perform a two way ANOVA. When I save the: sumpcf<- summary.aov(pcf.aov), result of the summary.aov command in a variable I need to access the individual pieces of information in the summary. The summary appears to be a list and I am having a hard time finding a way to get at the information in the summary.