Displaying 4 results from an estimated 4 matches for "hollenbach".
Did you mean:
hollenback
2009 Dec 05
4
paste adjacent elements matching string
...ontains "string" at the end, it is
combined with the next element, so that I get this:
> res
[1] "astringb" "cstringd" "e"
Any help is much appreciated, still learning.
Many thanks,
Jill
________________________________________________
Jill Hollenbach, PhD, MPH
Associate Staff Scientist
Center for Genetics
Children's Hospital Oakland Research Institute
jhollenbach@chori.org
skype: jillah11
[[alternative HTML version deleted]]
2009 Aug 12
4
paste first row string onto every string in column
...1 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 DPA1*0104 DPB1*0401 DPB1*0601
3 DPA1*0103 DPA1*0103 DPB1*0301 DPB1*0402
any help is much appreciated, I am new to this and struggling.
Jill
___
Jill Hollenbach, PhD, MPH
Assistant Staff Scientist
Center for Genetics
Children's Hospital Oakland Research Institute
jhollenbach at chori.org
--
View this message in context: http://www.nabble.com/paste-first-row-string-onto-every-string-in-column-tp24928720p24928720.html
Sent from the R he...
2009 Oct 05
3
how to have 'match' ignore no-matches
...ent 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.
Many thanks in advance, this site has been extremely helpful for me so far,
Jill
Jill Hollenbach, PhD, MPH
Assistant Staff Scientist
Center for Genetics
Children's Hospital Oakland Research Institute
jhollenbach at chori.org
--
View this message in context: http://www.nabble.com/how-to-have-%27match%27-ignore-no-matches-tp25756601p25756601.html
Sent from the R help mailing...
2009 Aug 12
0
Re : paste first row string onto every string in column
...402"
> (data2 <- rbind(C,data1))
V1 V2 V3 V4
1 DPA1* DPA1* DPB1* DPB1*
2 DPA1* 103 DPA1* 104 DPB1* 401 DPB1* 601
3 DPA1* 103 DPA1* 103 DPB1* 301 DPB1* 402
>
Hope that helps!!!
inchallah yarab
________________________________
De : Jill Hollenbach <jhollenbach@chori.org>
À : r-help@r-project.org
Envoyé le : Mercredi, 12 Août 2009, 3h48mn 37s
Objet : [R] 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 su...