similar to: year extraction over a list

Displaying 20 results from an estimated 10000 matches similar to: "year extraction over a list"

2012 Aug 09
4
indexing in data frames
I'm still not fully understanding exactly how R is handling data frames, but am getting closer. Any help with this one will likely go a long way in getting me there. Let's say I have a data frame, let's call it "a". Within that data frame i have two variables, let's call them "b" and "c", where "b" is a single numeric value per observation,
2002 Feb 25
5
another basic ?
i am sure that there is a simple solution that i am just overlooking, but there is no logical test for = there is one for != and >,<, >=, <=... what do i do if i need to check if something IS EQUAL or is there an easy way, in working with a matrix of size n x 3, to sort the matrix by one of the columns? specifically what i am trying to do is i have a matrix with individual and
2002 Feb 18
3
i think i asked the wrong ?
me again, new to R, haven't programmed in a long time at all sorry to ask what is probably basic a while ago i asked how to remove an element from a list apparently what i am using is not a list but a vector, didn't realize there was a list data type could also use a matrix for what i am doing, is there a way to remove single elements from either of those? thanks for any help, if i was
2002 Mar 20
7
how does while work
i am having some problems with a program that i am writing and i think that knowing how the while command works will help me to figure out where i am going wrong *when do you get kicked out of a while loop?* (i.e., in the following example what would the final value of 'a' be?) i thought it would be 99 but running it in R i get 101 (and 101 for x too!) while (x <100) { for (i in
2002 Mar 20
3
check without loop
i am probably just missing this one, but how can i check to see if a number is a part of a vector? i know i could do a loop checking for equivalence for each element, but i am thinking that there must be a simpler way to do it than that ( i think that i have even done it in the past, but can't remember how!) thanks what i am working with: (hope this makes sense) arclist [1] 2 2 6
2002 Apr 17
1
concat
i have a function that returns a list containing a variety of variable types i am trying to run the function multiple times and return the output into a variable with a semi-consistent naming pattern i.e., for ten trials i want to return the list into variables trial1,trial2,...trial10 is there a generic way to get this to happen i have a similar process that does the same thing to an external
2002 Mar 08
2
? about sample
i am trying to use the sample command and have one question about it: i am getting the error Error in sample(length(x), size, replace, prob) : insufficient positive probabilities when i use something like: sample (1:4, prob=c(0,0,1,0))[1] i was expecting that to return a 3 every time while this is not exactly what i am using it for, i need the capabilities to deal with zeros (as the
2002 Apr 08
2
changing the form of a list
i have a 2 x n matrix that is a paired list of connections, i am working with that looks something like: 1 2 1 3 1 5 2 1 2 3 3 1 3 2 4 5 5 1 5 4 for later operations it would be helpful if i could change this into the form of: 1 2 3 5 2 1 3 3 1 2 4 5 5 1 4 the initial list is randomly generated and the max number of times that any one number can appear is previoulsy defined by a limiting
2006 Dec 28
6
1.4 Random disconnects
Hi, We just upgraded to 1.4 and I'm noticing weird issues. I have noticed that asterisk stops running and I need to restart in order for us to receive calls. We receive our calls via a local sip provider over a dedicated T-1. We never have had an issue before until the upgrade to 1.4. It seems like asterisk gets hung up on a certain call and dumps. Anyone else noticing anything like
2002 Apr 29
2
efficiency
i have a set of files that i am reading into R one at a time and applying to a function that i have written where each is a 'table' n (columns) x 10000 (rows) n varies across the files and most of the rows only have data in the first few columns currently i am reading them in with the command: read.table(file="2.75.0.997.1", header=FALSE, sep="", skip=13, fill=,
2006 Oct 31
1
Fw: domU network problem , 10/30 progress
Hao Yu Commercial Scale Out IBM T.J. Watson Research Center 1101 Kitchawan Rd/Route 134, Rm 36-019 Yorktown Heights, NY 10598-0218 914-945-1854, Email: yuh@us.ibm.com ----- Forwarded by Hao Yu/Watson/IBM on 10/31/2006 09:52 AM ----- Jimi
2006 Oct 31
1
Fw: domU network problem , 10/30 progress
Hao Yu Commercial Scale Out IBM T.J. Watson Research Center 1101 Kitchawan Rd/Route 134, Rm 36-019 Yorktown Heights, NY 10598-0218 914-945-1854, Email: yuh@us.ibm.com ----- Forwarded by Hao Yu/Watson/IBM on 10/31/2006 09:52 AM ----- Jimi
2006 Mar 30
3
[patch] bitops on irq_cpustat_t->__softirq_pending
As mentioned earlier, PowerPC''s atomic ops operate on longs, and we have made our *_bit() prototypes use long* (instead of void*) to warn us of problems at compile time. Here''s one caller that was flagged: test_and_set_bit(nr, &softirq_pending(cpu)) Accordingly, we need __softirq_pending to be long, not int. PowerPC is currently using a few files unmodified from the x86
2006 Oct 13
1
Calls being disconnected across VPN
Hey All, Sometimes we are running into issues with calls randomly being disconnected. We have a couple of phones is in a remote office. We have a PIX-to-PIX VPN setup between the offices. I know neither of these devices provide QOS but we usually don't run into any problems. I notice this problem when we are in a conference call with one of the employees at the remote office and a
2006 Aug 07
5
[PATCH][LINUX] use machine_emergency_restart() from the generic header.
This patch uses the standard generic header for the definition of machine_emergency_restart() and reverses the call path for XenoLinux. Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com> --- diff -r 7680b29c03a6 drivers/xen/core/reboot.c --- a/drivers/xen/core/reboot.c Sat Aug 05 11:33:24 2006 -0400 +++ b/drivers/xen/core/reboot.c Mon Aug 07 09:50:33 2006 -0400 @@ -9,6 +9,7 @@ #include
2009 Mar 07
10
popular R packages
I would like to get some idea of which R-packages are popular, and what R is used for in general. Are there any statistics available on which R packages are downloaded often, or is there something like a package-survey? Something similar to http://popcon.debian.org/ maybe? Any tips are welcome! ----- Jeroen Ooms * Dept. of Methodology and Statistics * Utrecht University Visit
2007 Feb 01
2
[LLVMdev] llvm-java
So, the question that every once in a while is posed on this mailing list: What's the latest on llvm-java? I couldn't get the CVS version to compile under LLVM 1.9. I need to get Java class files to LLVM. If anyone can just tell me how to get it to compile, that would be great. -Jimi
2006 Aug 11
2
[PATCH][XEN] Use a union to pack the dual-short combos in an endian neutral way.
The first to members of a grant entry are updated as a combined pair. The following union patch uses a union so updated can happen in an endian neutral fashion. Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com> diff -r 1f611b58729f xen/common/grant_table.c --- a/xen/common/grant_table.c Wed Aug 09 18:53:00 2006 -0400 +++ b/xen/common/grant_table.c Fri Aug 11 12:29:48 2006 -0400 @@ -32,6
2006 May 10
2
Headsets
Hey Everyone, We are in the process of reviewing headsets for use with our GXP-2000s. I'm looking for some feedback as to which headsets people are using, the pros and cons of those headsets, and if they would recommend them to someone else. Any help would be appreciated... - Jason -------------- next part -------------- An HTML attachment was scrubbed... URL:
2007 Sep 06
1
Problem with Defaulting Groups and AD
Vital Stats - AMD 64-bit CPU, Ubuntu 7.0.4 (Feisty Fawn), Samba 3.0.24, Win2003 AD Domain I'm not sure how to make it stop doing it. When a user "logs in" they get an automatically assigned group of "domain users" which doesn't actually exist in any of the file permissions. I've tried setting group = %G and force group = %G but neither one is working. If