search for: id4

Displaying 20 results from an estimated 22 matches for "id4".

Did you mean: id
2006 Feb 09
1
List Conversion
Hello, I have a list (mode and class are list) in R that is many elements long and of the form: >length(list) [1] 5778 >list[1:4] $ID1 [1] "num1" $ID2 [1] "num2" "num3" $ID3 [1] "num4" $ID4 [1] NA I'd like to convert the $ID2 value to be in one element rather than in two.?? It shows up as c(\"num2\", \"num3\") if I try to use paste(list[2], collapse=""). I need to do this over the length of the entire list, however list2 <- apply(list, 1, paste,...
2012 Feb 26
1
Matrix problem to extract animal associations
...able to extract those individuals where there is 'no interaction' (i.e. where these individuals are not within a specified distance threshold from another individual) and give these individuals a unique Group ID containing that one individual. i.e. ID Group 1 ID1 1 2 ID3 2 3 ID4 3 4 ID5 4 5 ID7 5 6 ID8 6 7 ID9 7 What I need assistance with is allocating associations with a unique group id. i.e. If we have interactions between "ID2_ID6", "ID6_ID2", "ID6_ID10", "ID10_ID6" as in the example code... ID Gro...
2007 Mar 01
2
Query about data manipulation
...quiry on packages for regression analyses. Along the same topic(?), I have another question about which I could use some input. I am retreiving data from a MySQL database using RODBC. The table has many BLOB columns and each BLOB column has data in the format "id1 \t id2 \t measure \n id3 \t id4 \t measure...." (i.e. multiple rows compressed as one long string) I am retreiving them as follows. dataFromDB <- sqlQuery(channel, "select uncompress(columnName) from tableName"); I am looking for ways to convert this long "string" into a table/dataframe in R, makin...
2011 Apr 20
1
How to check if a value of a variable is in a list
...the data and I want to restrict my data to only those friends that I also have as respondents. The data (without characteristics) look like this: *resp f1 f2 f3 f4 f5* ID1 ID5 ID37 ID6 ID2 ID53 ID2 ID1 ID4 ID17 NA NA ... Now, let's say that "ID37" never appears as a respondent, then I want to replace that value with a NA so that it looks like this: *resp f1 f2 f3 f4 f5* ID1 ID5 NA ID6 ID2...
2016 Dec 20
2
colnames for data.frame could be greatly improved
...0 set.seed(1) DF <- data.frame( id1 = sample(sprintf("id%03d",1:K), N, TRUE), # large groups (char) id2 = sample(sprintf("id%03d",1:K), N, TRUE), # large groups (char) id3 = sample(sprintf("id%010d",1:(N/K)), N, TRUE), # small groups (char) id4 = sample(K, N, TRUE), # large groups (int) id5 = sample(K, N, TRUE), # large groups (int) id6 = sample(N/K, N, TRUE), # small groups (int) v1 = sample(5, N, TRUE), # int in range [1,5]...
2010 Sep 07
1
average columns of data frame corresponding to replicates
...new column that is the mean of these three. Thanks for any suggestions. Juliet myData <- data.frame("sample1.id1" =rep(1,10), "sample1.id2"=rep(2,10), "sample2.id1" = rep(2,10), "sample1.id3" = 1:10, "sample3.id1" = rep(1,10), "sample1.id4" = 1:10, "sample2.id2" = rep(1,10)) repeat_ids <- c("id1","id2")
2013 Jul 02
2
Recoding variables based on reference values in data frame
...for each of 300+ subjects (ID1, ID2, ID3, ...) at 3000+ genetic locations (SNP1, SNP2, SNP3...). A small subset of the data is shown below: SNP_ID SNP1 SNP2 SNP3 SNP4 Maj_Allele C G C A Min_Allele T A T G ID1 CC GG CT AA ID2 CC GG CC AA ID3 CC GG nc AA ID4 _ _ _ _ ID5 CC GG CC AA ID6 CC GG CC AA ID7 CC GG CT AA ID8 _ _ _ _ ID9 CT GG CC AG ID10 CC GG CC AA ID11 CC GG CT AA ID12 _ _ _ _ ID13 CC GG CC AA The name of the data file is Kgeno. What...
2006 Mar 05
2
Wishlist: merge and subset to keep attributes (PR#8658)
...originally has value labels that are gone after merging or subsetting. It would be very helpful, if this could be changed. With kind regards, Ulrike ----------------------------------------------------------------- data1 <- data.frame(id=c("Id1","Id2","Id3","Id4","Id5","Id6"), time=c(3,4,3,5,9,4)) vallab <- c(3,4,5,9) names(vallab) <- c("day","night","twilight","unknown") attr(data1$time,"value.labels")<-vallab str(data1) ## gives the output: ## `data.frame':...
2014 Jan 16
1
Doubt in simple merge
Dear R community I have a two data set called "Elder" and "Younger". This is my code for simple merge. Elder <- data.frame(   ID=c("ID1","ID2","ID3"),   age=c(38,35,31)) Younger <- data.frame(   ID=c("ID4","ID5","ID3"),   age=c(29,21,31)) mer <- merge(Elder,Younger,by="ID", all=T) Output I am expecting: ID    age ID1  38 ID2  35 ID3  31 ID4  29 ID5  21 It looks very simple.  But I need help.  When I run the code it gives me age.x and age.y. thank you --...
2016 Dec 27
0
colnames for data.frame could be greatly improved
...;- data.frame( > id1 = sample(sprintf("id%03d",1:K), N, TRUE), # large groups (char) > id2 = sample(sprintf("id%03d",1:K), N, TRUE), # large groups (char) > id3 = sample(sprintf("id%010d",1:(N/K)), N, TRUE), # small groups (char) > id4 = sample(K, N, TRUE), # large groups (int) > id5 = sample(K, N, TRUE), # large groups (int) > id6 = sample(N/K, N, TRUE), # small groups (int) > v1 = sample(5, N, TRUE), # int in...
2009 Aug 13
9
[PATCHv2 01/10] drm/nouveau: Fix a lock up at NVSetOwner with nv11.
It seems it was only locking up in the context of nouveau_hw_save_vga_fonts, when it actually did something (because the console wasn't already in graphics mode). Signed-off-by: Francisco Jerez <currojerez at riseup.net> --- drivers/gpu/drm/nouveau/nouveau_hw.c | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_hw.c
2003 Nov 17
0
RE: Asterisk-Users digest, Vol 1 #1918 - 9 msgs
...z dGVyaXNrLVVzZXJzXSBJQVgyIGNvbm5lY3Rpdml0eSBwcm9ibGVtIChxdWFsaWZ5PXllcykN Cg0K DQo+IFdpcGVPdXQgd3JvdGU6DQo+IA0KPiA+IFBoaWxpcHAgdm9uIEtsaXR6aW5nIHdyb3Rl Og0K PiA+IA0KPiA+PiBIaSB0aGVyZSwNCj4gPj4NCj4gPj4gSSBzdGlsbCBoYXZlIGlzc3VlcyB3 aXRo IHRoZSBJQVggY29ubmVjdGlvbiBiZXR3ZWVuIHR3byBzZXJ2ZXJzIChvbmUgDQo+ID4+IHN0 YXRp YyAoc2VydmVyIEEpLCBvbmUgZHluYW1pYyAoc2VydmVyIEIpLCBub25lIGJlaGluZCBOQVQp Og0K PiA+Pg0KPiA+PiBCIHJlZ2lzdGVycyB3aXRoIEEsIGFuZCAiaWF4MiBzaG93IHJlZ2lzdHJ5 IiBz aG93cyB0aGF0IGV2ZXJ5dGhpbmcgaXMgDQo+ID4+IGZpbmUuIEhvd2V2ZXIsIGFmdGVyIGEg d2hp bGUgaWYgSSBjaGVjayBvbiBzZXJ2ZXIgQSB3aXRoICJpYXgyIHNob3c...
2009 Aug 12
14
[PATCH 00/12] TV-out modesetting kernel patches.
This patch series adds TV-out modesetting support to the KMS implementation. I've tried to test it on all the hardware I've got at hand (that is nv11, nv17, nv34, nv35, nv40, nv4b) with every possible output combination; I believe it has reached a mergeable state, however it depends on some commits from drm-next that haven't got into Linus' tree yet, if you agree to merge this
2016 Apr 04
2
multiple bar plot annotation text labelling
...t;1" horiz-adv-x="927" d="M 156,0 L 156,153 515,153 515,1237 197,1010 197,1180 530,1409 696,1409 696,153 1039,153 1039,0 156,0 Z"/> </font> </defs> <defs class="TextShapeIndex"> <g ooo:slide="id1" ooo:id-list="id3 id4 id5 id6 id7 id8 id9 id10 id11 id12 id13 id14 id15 id16 id17 id18 id19 id20 id21"/> </defs> <defs class="EmbeddedBulletChars"> <g id="bullet-char-template(57356)" transform="scale(0.00048828125,-0.00048828125)"> <path d="M...
2016 Apr 04
0
multiple bar plot annotation text labelling
...ot;1" horiz-adv-x="927" d="M 156,0 L 156,153 515,153 515,1237 197,1010 197,1180 530,1409 696,1409 696,153 1039,153 1039,0 156,0 Z"/> </font> </defs> <defs class="TextShapeIndex"> <g ooo:slide="id1" ooo:id-list="id3 id4 id5 id6 id7 id8 id9 id10 id11 id12 id13 id14 id15 id16 id17 id18 id19 id20 id21"/> </defs> <defs class="EmbeddedBulletChars"> <g id="bullet-char-template(57356)" transform="scale(0.00048828125,-0.00048828125)"> <path d="M...
2006 Mar 05
0
Wishlist: xtabs and table to optionally use attribute value labels (PR#8659)
...put e.g. from regression procedures with such data. Hoping this wish will make it to the list of wishes fulfilled some day. With kind regards, Ulrike ----------------------------------------------------------------- data1 <- data.frame(id=c("Id1","Id2","Id3","Id4","Id5","Id6"), time=c(3,4,3,5,9,4)) vallab <- c(3,4,5,9) names(vallab) <- c("day","night","twilight","unknown") attr(data1$time,"value.labels")<-vallab str(data1) ## gives the output: ## `data.frame':...
2004 Feb 13
3
Calculate Closest 5 Cases?
...72 13.20 12.13 4.33 12660338 6.60 7.54 5.66 8.49 10.38 11.31 16.06 12.26 8.49 8.49 4.73 12660644 5.51 3.14 3.95 7.09 7.11 14.98 15.72 18.90 9.44 5.50 8.65 12661667 5.44 4.50 5.44 4.50 5.44 12.69 13.63 11.81 9.07 13.68 13.79 END DATA. *Output should be:. *. * ID1 CLOSEID1 CLOSEID2 CLOSEID3 CLOSEID4 CLOSEID5. * ID2 CLOSEID1 CLOSEID2 CLOSEID3 CLOSEID4 CLOSEID5. * ID3 CLOSEID1 CLOSEID2 CLOSEID3 CLOSEID4 CLOSEID5. * ID4 CLOSEID1 CLOSEID2 CLOSEID3 CLOSEID4 CLOSEID5. * ID5 CLOSEID1 CLOSEID2 CLOSEID3 CLOSEID4 CLOSEID5.
2004 Jul 19
0
(Asterisk-Users] Affordable SIP Phone - Stiil a Myth?
...band reinvite=no canreinvite=no ;nat=yes callerid=D-link ID3 <2008> [2009] ; Duplicate of 2000, except with different auth data type=friend username=2009 secret=2009 host=dynamic context=from-sip mailbox=108 ;dtmfmod=inband reinvite=no canreinvite=no ;nat=yes callerid=D-link ID4 <2009> [2010] ; Duplicate of 2000, except with different auth data type=friend username=2010 secret=2010 host=dynamic context=from-sip mailbox=109 ;dtmfmod=inband reinvite=no canreinvite=no ;nat=yes callerid=USA-ID10<2010> [2011] ; Duplicate of 2000, except with differen...
2008 Aug 09
2
xy plot in version 2.7.1 for Mac (PR#12520)
...K6B63+6oz0qmvSQHGH1uxQLr8hlHIAvJCQAaEYw9AyVq1RJkt 2pEU0FBuGv8cAUcqEnUpNHIh181Io8CQVWqVl8H3VCBKhvDLPNmQOHcNJReVdZLGCBJ16tsoEtgk nPYi6iqjkwI4QeyTAmSrzrJkLhk+0k/KzD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