similar to: Addition of numeric data to dates

Displaying 20 results from an estimated 3000 matches similar to: "Addition of numeric data to dates"

2009 Dec 05
4
paste adjacent elements matching string
Hi all, I would like to combine elements of a vector: vec <- c("astring", "b", "cstring", "d", "e") > vec [1] "astring" "b" "cstring" "d" "e" such that for every element that contains "string" at the end, it is combined with the next element, so that I get this:
2006 May 03
2
grouped output
hello, Suppose I have a table that looks like this: center name email Health Jon jon@test.com Health Bob bob@test.com Admin Jane jan@test.com Admin Jill jill@test.com I would like the output to look like this: Health Jon jon@test.com Bob bob@test.com Admin Jane jan@test.com Jill jill@test.com when i using cold fusion, this was easy via a tag called cfoutput. when i was using java, this was
2009 Aug 12
4
paste first row string onto every string in column
Hi, I am trying to edit a data frame such that the string in the first line is appended onto the beginning of each element in the subsequent rows. The data looks like this: > df V1 V2 V3 V4 1 DPA1* DPA1* DPB1* DPB1* 2 0103 0104 0401 0601 3 0103 0103 0301 0402 . . and what I want is this: >dfnew V1 V2 V3 V4 1 DPA1* DPA1* DPB1* DPB1* 2 DPA1*0103
2009 Oct 05
3
how to have 'match' ignore no-matches
Hi all, I think this is a very basic question, but I'm new to this so please bear with me. I'm using match to translate elements of a data frame using a lookup table. If the content of a particular cell is not found in the lookup table, the function returns NA. I'm wondering how I can just ignore those cells, and return the original contents if no match is found in the lookup table.
2004 Jun 03
2
Force user
Hello list The Samba Howto Collection repeatedly asserts that by setting the sticky bit on directories any files created in those directories will be created with the owner set to that of the directory (for example, see http://samba.mirror.ac.uk/samba/docs/man/howto/AccessControls.html#id2541262). This has never worked for me. Files created inherit the group of the directory, but not the owner.
2003 Jul 28
5
hi
Guess what I have no clue what i am doing/ meant to do with R. i have just begun statistics for uni and all commands don't seem to work, they say syntax error, we are meant to put a hist.r in but ? please help, step by step, to use this program i would turn it on (it comes up rgui) is this wrong, have i put the wrong bit on it? Please help, I am so glad there is an R help Thankyou jill
2008 May 16
1
symbolic linking
I have a number directories under /opt on computer jack. I want some (not all) of them to appear in /opt on computer jill. I have the /opt directory on jack mounted on jill under /mnt/jack If I go into the /opt directory on jill and do this: ln -s /mnt/jack/opt/files . I get /opt/files/files on jill. What I want is /opt/files and I can't see what I'm doing wrong. -- MELVILLE
2004 Feb 18
1
Preview Samba-3 by Example book
Hi All, I know there has been a lot of interest in John Terpstra's upcoming book, "Samba-3 by Example: Practical Exercises to Successful Deployment." The book is scheduled to print end of March and can be found at local bookstores by early April. In the meantime, John will be giving a talk at the BYU UNIX User's Group tomorrow, Thursday, February 19th at 8PM, where he will be
2003 Jun 27
2
No dial Tone but its registering from remote site! Anyone with idea?
Hello Everyone - Well, I think I'm getting closer with the asterisk connection. This is my setup and I keep getting this error below in ,my /var/log/asterisk/messages file. I have opened 5060 port on the firewall box. I would this is Warning which I can ignore! But I see the connetcion coming but NO DIAL TONE on mt ata186 box sitting in my 192.168.200.x site! I'm using ATA186(cisco
2003 Nov 16
3
an object of class lm returned by lm?
Can someone tell me what an object of class lm returned by lm means? I assumed it mean the regression model - but I'm not sure how to enter this in. I have tried y~a+b but this is not working. I have also tried saving the regression results and entering these, but again this is incorrect. This language is from the following: lm.LMtests(model, listw, zero.policy=FALSE,
2009 Nov 12
2
package "tm" fails to remove "the" with remove stopwords
I am using code that previously worked to remove stopwords using package "tm". Even manually adding "the" to the list does not work to remove "the". This package has undergone extensive redevelopment with changes to the function syntax, so perhaps I am just missing something. Please see my simple example, output, and sessionInfo() below. Thanks! Mark require(tm)
2007 Apr 27
1
[LLVMdev] question about PRE
Hi, I am Jill, I'm new here and new with llvm. I find that its old PRE.cpp has been removed from llvm-1.9 and the project homepage says that a GVN-PRE pass is being implemented. Since many PRE algorithms have been suggested, and I think PRE further differs according to the specific defination of equivalence, whether it is an "optimal" algorithm and optimal at what metric, etc, can I
2004 Apr 06
1
"Samba-3 by Example" now available
Hi All, Thanks to everyone who has written wanting more information on when "Samba-3 by Example" by John Terpstra will be available. The good news is that it is available right now through your local bookstore or online sites like Amazon.com. There are already a couple of very positive comments posted to Amazon. These indicate that if you want to get Samba-3 up and running, you'll
2003 Nov 14
1
spatial modeling
I am new to R and have a question about spatial econometrics. I have noticed that you can easily test for spatial autocorrelation with the spdep package, but was wondering if any code has been written to correct for spatial autocorrelation? Or if there is any literature on this? Thanks. -Jill *************************************************** Jill L. Caviglia-Harris, Ph.D. Assistant
2007 Feb 06
1
glm gamma scale parameter
I would like the option to specify alternative scale parameters when using the gamma family, log link glm. In particular I would like the option to specify any of the following: 1. maximum likelihood estimate 2. moment estimator/Pearson's 3. total deviance estimator Is this easy? Possible? In addition, I would like to know what estimation process (maximum likelihood?) R is using to
2008 May 01
1
Forecasting observations in ARFIMA
I would like to compute the next 15 observations for an ARFIMA(2,1,0) model along with confidence intervals. Can someone provide code? Many thanks. Jill ____________________________________________________________________________________ [[elided Yahoo spam]]
2012 Sep 09
1
Error msg in rpanel
I am working on the r panel package. Now if i have a function that uses a radiogroup button, and if i attempt to run the function from inside the rpanel menu, i get this error: Error in panel$intname : $ operator is invalid for atomic vectors However if i run the function per se i.e. not from inside the rpanel menu, but by calling it independently, the above error doesn't appear. Here is a
2009 Mar 13
6
Using LIKE
I''ve heard that using LIKE is very slow, but I see it being used a lot in examples, blogs etc. Is it really that bad? Since Rails doesn''t directly support Fulltext search, this is the easiest way to get searching done, right? Or are there any other easier ways? I''m using acts_as_indexed right now, but it still doesn''t do what LIKE does.
2008 Oct 18
2
sorting matrix output alphabetically
Hello, I have been using the TM package to create a TermDocMatrix, which I have saved as a matrix so that I can view word frequencies. Below is a section of the code that I have used and an excerpt of the output: What I wanted to be able to do is to view the output alphabetically - rather than the results being sorted by frequency as below, that an alphabetical list would be generated. This
2007 Jan 21
1
Can we do GLM on 2GB data set with R?
We are wanting to use R instead of/in addition to our existing stats package because of it's huge assortment of stat functions. But, we routinely need to fit GLM models to files that are approximately 2-4GB (as SQL tables, un-indexed, w/tinyint-sized fields except for the response & weight variables). Is this feasible, does anybody know, given sufficient hardware, using R? It appears to