Search Archives
Search tips
from:Name
Search by author name, e.g. from:Duncan Murdoch
"exact phrase"
Match an exact phrase
word1 word2
Match messages containing both words
Date range
Use the date pickers to filter results to a time period
Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.
Dear list-members, I have the following problem: I have a vector (countrydiff) with length 72 and another vector (long_df$country_name) which is about 12000 long. Basically what I want to do is to if the factor level...
Hello; I have the following table > m V2 V1 V3 1 C/L 0 732179 3 C/S 0 803926 19 D/F 0 724924 17 D/I 0 755841 13 D/L 0 731904 15 D/S 0 798289...
Beautiful. -----Original Message----- From: Greg.Snow at imail.org [mailto:Greg.Snow at imail.org] Sent: Friday, May 06, 2011 02:17 PM To: Thompson, Adele - Adele_Thompson at cargill.com; r-help at r-project.org Subject: RE: [R...
Hi I have stumbled upon a problem when using gregexpr and regmatches, with the following error-message: Error in iconv(x, "latin1", "ASCII") : 'x' must be a list of NULL or raw vectors The data: (1) I have two journal...
Taking the final value for each 30-minute interval seems like it would get what I want. The problem is that sometimes this value would be 15 minutes before the end of the 30-minute interval. What would I use...
Thanks for the info Jeff. I will stick to using annotate() -- Adel Daoud, PhD, Researcher The New School for Social Research, Visiting Scholar in the Economics Department, 6 East 16th Street New York, NY 10003, daouda at newschool.edu University...
Thanks all for the replies. I am getting better slowly but surely. I imagine that I will get better at figuring out things as well so I don't have to post as many questions. I do lots of searches...
I figured out a poor way to do what I want. meas<-runif(30) times<-sort(runif(30)) timesdec<-seq(0,1,0.2) ltim<-length(timesdec) storing<-rep(0,ltim) for (i in 1:ltim) { if (i=1) {rowstart...
Thanks, that did exactly what I wanted. I realize that I didn't put it in the best form, but was having trouble coming up with a replicable example. I see that many people here quickly create examples and I...
Hi all, I am new to using R for spatial analysis and have encountered what seems to be a common, known issue. When I use the functions readOGR or ssplot or proj4string() I get the following error message: NOTE: rgdal...
Thanks Petr for the suggestion. I just took the regtools package for a quick test drive. It looks promising, but it still needs further development to make it a viable option. You will not get a standard regression output (as...
Hi Yes, I am sure. Have a look here for SPSS e.g.: http://www-01.ibm.com/support/docview.wss?uid=swg21475199 and here http://www.ats.ucla.edu/stat/spss/modules/missing.htm and for STATA here, http...
Here is an example of what I would like to do: meas = measurements times = time of measurement measf = measurements in final, reduced matrix timesf = time of measurement in final matrix meas<-runif(30) times<-sort(runif(30)) inputmat<-cbind(times...
Hi Jim, Thanks for the input but that did not work. I am suing Rstudio by the way and I guess that has a better device that would support ggplot output. The annotate options works but that does not explain...
Hi I am trying to activate the alpha argument to work, but for some reason it does not to play with me. Anybody has an idea why? p <- ggplot(data = prediction_df, aes(x=x, y=prediction, fill=threshold)) + geom...
I am still working on the weights problem. If the animals do not eat (like after sunset), then no new feed weight will be calculated and no new row will be entered. Thus, if I just use the previous value...
Easy fix. Under ?par, I don't see where I can enter an overall title. Should I add a text command or something? -----Original Message----- From: Greg.Snow at imail.org [mailto:Greg.Snow at imail.org] Sent: Friday, May...
The problem with using cumsum, is that the measured output is the cumulative feed consumed throughout the day. When the animals do not eat for 30 minutes or so, it will not output a new value, but as soon as...
Good deal. I will do that in the future. Thanks. -----Original Message----- From: dwinsemius at comcast.net [mailto:dwinsemius at comcast.net] Sent: Tuesday, May 10, 2011 10:45 AM To: Thompson, Adele - Adele_Thompson at cargill.com Cc: r...
An easy way to average every 30 minutes is using the aggregate function. First I use the mod (%%) to get times as the next earliest possible 30 min time increment. bTime<- as.POSIXct(c( "2011-04-28 09:02:00...
Can't find what you're looking for? Try searching with Google .