similar to: Testing for membership in an array of strings

Displaying 20 results from an estimated 8000 matches similar to: "Testing for membership in an array of strings"

2005 Aug 11
2
Converting strings with internal delimiters into lists
Hi UserRs, I know that there has to be an easy way to do this in R (probably easy enough that once someone clues me in I'll smack myself on the forehead for not figuring it out myself), but my searches on my own have not yielded any hints. I have many fields in my dataset that participants entered as "free lists" - i.e., the field constitutes a varying number of names each
2003 May 07
2
force group parameter problem
Hello. I'm having some trouble with the force group parameter in the smb.conf file. I'm running samba 2.2.8a on RedHat 9. The smb.conf file has the following entries: [sales] comment = Sales Share path = /sales public = no writable = yes create mask = 0770 directory mask = 0770 force group
2010 Oct 06
3
tapply output
Hello, I am having trouble getting the output from the tapply function formatted so that it can be made into a nice table. Below is my question written in R code. Does anyone have any suggestions? Thank you. Geoff #Input the data; name <- c('Tom', 'Tom', 'Jane', 'Jane', 'Enzo', 'Enzo', 'Mary', 'Mary'); year <- c(2008, 2009,
2000 May 15
1
Non linear regression using Levenberg-Marquardt method
Hello, I want to fit some non linear models with the Levenberg-Marquardt algorithm. It doesn''t seem to exist any function to do this in R ( well, maybe one does, but I''m a new user, and the only documentation I have is "An introduction to R"). I''d like to know if this function exists, maybe throught an additionnal package. I''d also like to know if if
2006 Mar 02
5
Two foreign keys on the same column?
Let''s say I have three hypothetical MySQL tables: ? people, with columns id, gender, and source_id belongs_to :boys and :girls ? boys, with columns id and name has_many :people ? girls, with columns id and name has_many :people The gender column in people specifies which of the two source tables the source_id refers to. For example, if we have values: 1, boy, 1 in people,
2015 Jun 02
2
Forward loop protection...
>> The loop checking is a bit more challenging than that. If Bob >> forwards to Fred and Fred forwards to Sue, all is well when Bob and >> Fred head out for a beer. A little later, we?re in deep doo-do0 when >> Sue forwards to Bob. > Could this possibly mean that any person who has CF set should never > be available as CF Destination. Simple db entry/check can
2010 Feb 28
6
A slight trap in read.table/read.csv.
I had occasion recently to read in a one-line *.csv file that looked like: "CandidateName","NSN","Ethnicity","dob","gender" "Smith, Mary Jane",111222333,"E","2/25/1989","F" That "F" (for female) in the last field got transformed to FALSE. Apparently read.csv (and hence read.table) are inferring
2009 Feb 27
4
Optimize for loop / find last record for each person
I want to find the last record for each person_id in a data frame (from a SQL database) ordered by date. Is there a better way than this for loop? for (i in 2:length(history[,1])) { if (history[i, "person_id"] == history[i - 1, "person_id"]) history[i, "order"] = history[i - 1, "order"] + 1 # same person else history[i,
2008 Mar 04
1
XLSolutions 9 Courses: Upcoming March-April 2008 R/S+ Course Schedule by XLSolutions Corp
Our March-April 2008 R/S+ course schedule is now available. Please check out this link for additional information and direct enquiries to Sue Turner sue at xlsolutions-corp.com Phone: 206 686 1578 ---------- Can't see your city? Please email us! ---------- -------- Ask for Group Discount ------- www.xlsolutions-corp.com/courselist.htm (1) R/S System: Advanced
2003 Sep 26
1
Question on "read only" behavior in smb.conf
Hi All, I've built Samba v2.2.8a on a RedHat 7.2 system and it seems to work ok. However I cannot understand the "read only" parameter in the following situation: smb.conf file: ------------------- [global] security=user encrypt passwords=yes [foo] path=/tmp/foo read only=yes The owner&mode of /tmp/foo is: ------------------------------------------ % ls -ld
2007 Jul 11
2
inquiry about anova and ancova
Dear R users, I have a rather knotty analysis problem and I was hoping that someone on this list would be able to help. I was advised to try this list by a colleague who uses R but it is a statistical inquiry not about how to use R. In brief I have a 3x2 anova, 2 tasks under 3 conditions, within subjects. I also took a variety of personality measures that might influence the results under the
2008 May 05
4
Column renaming
Dear all, Is there a less cumbersome way to rename a column by name (as opposed to index) than -- names( X)[ names[ X] == "bob"]<-"sue" ? A semi-related question: how does one get the index of a column by name, something along the lines of col.index( X, "sue") ? Chip Barnaby --------------------------------------------------------- Chip Barnaby
2015 Jun 02
2
Forward loop protection...
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Kevin Larsen Sent: Tuesday, June 2, 2015 4:09 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Forward loop protection... > Ia had a server overload today because someone did a call forward > to their own extension. To do a
2006 Jun 13
1
2 Courses Near You - (1) Introduction to R/S+ programming: Microarrays Analysis and Bioconductor, (2) R/Splus Fundamentals and Programming Techniques
XLSolutions Corporation (www.xlsolutions-corp.com) is proud to announce: (1) Introduction to R/S+ programming: Microarrays Analysis and Bioconductor *** San Francisco / July 17-18, 2006 *** *** Chicago / July 24-25, 2006 *** *** Baltimore / July 27-28, 2006 *** *** Raleigh / July 17-18, 2006 *** ***
1999 May 17
4
Drive namings...
Just wondering if there is a way to get drive namings to change according to who's logged into the network. ie. 'bob' logs into windows networking and gets... E: 'bob' on server kiwi. Now if 'sue' logs into windows networking on the same pc she gets... E: 'bob' on server kiwi. But E: contains sue's stuff. So is there a way into making 'sue'
2010 Jan 06
3
February 2010***New R Courses*** by XLSolutions Corp at 9 USA Cities: San Francisco, New York, Washington DC, Houston, Boston, Las Vegas, Seattle, etc
Happy New Year ! XLSolutions February 2010 R courses schedule is now available online at 9 USA cities for with 13 new courses: *** Suggest a future course date/city (1) R-PLUS: A Point-and-Click Approach to R (2) S-PLUS / R : Programming Essentials. (3) R/S+ Fundamentals and Programming Techniques (4) R/S-PLUS Functions by Example. (5) S/R-PLUS Programming 3: Advanced Techniques and
2007 Apr 13
0
[LLVMdev] [llvm-commits] CVS: llvm-www/Name.html
Dale Johannesen wrote: > On Apr 13, 2007, at 9:49 AM, Devang Patel wrote: > >> + <tr><td>Jeff Cohen</td><th> >> + Oscar</th> >> + <td>Oscar = Open Source Compiler And Runtime</td></tr> >> > > Perfect, and very nice backronym. Unfortunately, Wikipedia says: > > >> Both Oscar
2009 Nov 05
1
Typo in R Help INSTALL {utils} (PR#14045)
Full_Name: Neil Tiffin Version: R version 2.10.0 (2009-10-26) OS: [R.app GUI 1.30 (5511) i386-apple-darwin9.8.0] Submission from: (NULL) (99.68.31.116) In the help section 'INSTALL {utils}' half way down the page the line Use R CMD INSTALL ?help for concise usage information, including all the available options should have two '-' in front of help. Therefor it should read
2012 Aug 14
1
Fwd: %g patch for ChrootDirectory
Sent from my iPhone Begin forwarded message: > From: Sue Spence <sue at pennine.com> > Date: 13 August 2012 08:02:08 GMT+01:00 > To: "susan.spence" <susan.spence at db.com> > Subject: ssh > >
2010 Mar 02
1
R / R+ Webminar *** R-PLUS Rocks: Interactive, Comprehensible and Highly Visual. March 12th @ 12PM ET (USA Time)
Welcome to R/ R-PLUS Webminar Series. R-PLUS 3.3 Rocks: Interactive, Comprehensible and Highly Visual. http://www.xlsolutions-corp.com/webminar.asp. March 12th @ 12PM ET (USA Time) Increase your productivity with R-PLUS 3.3 by attending the webminar and learning how to: 1. Interactively clicking your way through your favorite statisticals models without the need of programming. 2. Use