search for: kemri

Displaying 18 results from an estimated 18 matches for "kemri".

Did you mean: memri
2017 Oct 15
1
Populate one data frame with values from another dataframe for rows that match
...dataset. @Eric<mailto:ericjberger at gmail.com>?s solution was able to achieve that. Nonetheless, we do appreciate your solution. Regards ------------------ Kevin Wamae From: William Dunlap <wdunlap at tibco.com> Date: Saturday, 14 October 2017 at 20:21 To: Kevin Wamae <KWamae at kemri-wellcome.org> Cc: Bert Gunter <bgunter.4567 at gmail.com>, Rui Barradas <ruipbarradas at sapo.pt>, R-help <R-help at r-project.org> Subject: Re: [R] Populate one data frame with values from another dataframe for rows that match Your example used one distinct studyno in DF1 and...
2017 Oct 14
2
Populate one data frame with values from another dataframe for rows that match
Dear @Bert Gunter<mailto:bgunter.4567 at gmail.com>, I tried merge and I faced many challenges. @Rui Barradas<mailto:ruipbarradas at sapo.pt> solution is working. From: Bert Gunter <bgunter.4567 at gmail.com> Date: Friday, 13 October 2017 at 22:44 To: Kevin Wamae <KWamae at kemri-wellcome.org> Cc: R-help <R-help at r-project.org> Subject: Re: [R] Populate one data frame with values from another dataframe for rows that match ?merge Bert On Oct 13, 2017 12:09 PM, "Kevin Wamae" <KWamae at kemri-wellcome.org<mailto:KWamae at kemri-wellcome.org>&gt...
2017 Oct 14
0
Populate one data frame with values from another dataframe for rows that match
...103 6 J931/6 2016-11-30 3 2016 104 Now your problem is to combine the columns pf_mcl.raw and pf_mcl.curated in the way you want. ifelse() may be useful for that. Bill Dunlap TIBCO Software wdunlap tibco.com On Fri, Oct 13, 2017 at 10:48 PM, Kevin Wamae <KWamae at kemri-wellcome.org> wrote: > Dear @Bert Gunter<mailto:bgunter.4567 at gmail.com>, I tried merge and I > faced many challenges. @Rui Barradas<mailto:ruipbarradas at sapo.pt> > solution is working. > > From: Bert Gunter <bgunter.4567 at gmail.com> > Date: Friday, 13...
2017 Oct 13
4
Populate one data frame with values from another dataframe for rows that match
...or the use of the named recipient. If you have received this e-mail in error, please let us know by replying to the sender, and immediately delete it from your system. Please note, that in these circumstances, the use, disclosure, distribution or copying of this information is strictly prohibited. KEMRI-Wellcome Trust Programme cannot accept any responsibility for the accuracy or completeness of this message as it has been transmitted over a public network. Although the Programme has taken reasonable precautions to ensure no viruses are present in emails, it cannot accept responsibility for any l...
2017 Oct 13
0
Populate one data frame with values from another dataframe for rows that match
?merge Bert On Oct 13, 2017 12:09 PM, "Kevin Wamae" <KWamae at kemri-wellcome.org> wrote: > I'm trying to populate the column ?pf_mcl? in myDF1 with values from > myDF2, where rows match based on column "studyno" but the solutions I have > found so far don't seem to be giving me the desired output. > > Below is a snapshot of the...
2009 Mar 05
3
Dropping rows conditionally
...in error, please let us know by replying to the sender, and immediately delete it from your system. Please note, that in these circumstances, the use, disclosure, distribution or copying of this information is strictly prohibited. We apologize for any inconvenience that may have been caused to you. KEMRI-Wellcome Trust Programmecannot accept any responsibility for the accuracy or completeness of this message as it has been transmitted over a public network. KEMRI-Wellcome Trust Programme reserves the right to monitor all incoming and outgoing email traffic. Although the Programme has taken reasonab...
2017 Oct 14
2
Populate one data frame with values from another dataframe for rows that match
...or the use of the named recipient. If you have received this e-mail in error, please let us know by replying to the sender, and immediately delete it from your system. Please note, that in these circumstances, the use, disclosure, distribution or copying of this information is strictly prohibited. KEMRI-Wellcome Trust Programme cannot accept any responsibility for the accuracy or completeness of this message as it has been transmitted over a public network. Although the Programme has taken reasonable precautions to ensure no viruses are present in emails, it cannot accept responsibility for any l...
2017 Oct 14
0
Populate one data frame with values from another dataframe for rows that match
...0/6 2016-12-20 6 # 3 J1000/8 2016-11-18 1 # 4 J1000/9 2016-11-22 0 # 5 J1000/9 2016-11-30 0 # 6 J1000/9 2016-12-09 0 Comparing the two results you see that no rows have been dropped in my approach. HTH, Eric On Sat, Oct 14, 2017 at 8:49 AM, Kevin Wamae <KWamae at kemri-wellcome.org> wrote: > Dear @Rui Barradas, thank you for the solution. It works perfectly. > > > On 13/10/2017, 23:35, "Rui Barradas" <ruipbarradas at sapo.pt> wrote: > > Hello, > > Try the following. > > > myDF1$studyno <- as.char...
2018 Feb 22
0
alternative for multiple if_else statements
...nt that appears, i.e. subscript[1], is "2013-04-04". In the filtered data set the first element that appears is "2013-04-05". I hope that is enough information for you to make further progress from here. Best, Eric On Thu, Feb 22, 2018 at 1:28 PM, Kevin Wamae <KWamae at kemri-wellcome.org> wrote: > Dear Eric, wow, this seems to do the trick. But I have encountered a > problem. > > > > I have tested it on the larger dataset and it seems to work on a filtered > dataset but not on the whole dataset (attached). See below script.. > > > >...
2009 Aug 18
0
unable to load library rJava on my Ubuntu 9.04
...bs/rJava.so': libjvm.so ... but It cannot be loaded. What do I do? Problem 2: I have tried in vain to get the newer R version of 2.9.1. I keep on getting the 2.8.1. I have read the instructions from the R site but I seem not to be there. What do I do? Kind regards, Lazarus Mramba, KEMRI/Wellcome trust research Institute,Kilifi, Kenya This e-mail (including any attachment to it) contains information which is confidential. It is intended only for the use of the named recipient. If you have received this e-mail in error, please let us know by replying to the sender, and immediately d...
2017 Oct 13
0
Populate one data frame with values from another dataframe for rows that match
...or the use of the named recipient. If you have received this e-mail in error, please let us know by replying to the sender, and immediately delete it from your system. Please note, that in these circumstances, the use, disclosure, distribution or copying of this information is strictly prohibited. KEMRI-Wellcome Trust Programme cannot accept any responsibility for the accuracy or completeness of this message as it has been transmitted over a public network. Although the Programme has taken reasonable precautions to ensure no viruses are present in emails, it cannot accept responsibility for any l...
2018 Feb 22
0
alternative for multiple if_else statements
..."2014-04-01", "2015-04-01", "2016-03-01", "2017-01-01"))) might work. Best, Ista On Wed, Feb 21, 2018 at 3:33 PM, Kevin Wamae <KWamae at kemri-wellcome.org> wrote: > Hi, I am having trouble trying to figure out why if_else is behaving the way it is, it may be my code or the way the data is structured. > > Below is a snapshot of a database am working on and it represents a longitudinal survey of study participants in a trial wi...
2018 Feb 21
7
alternative for multiple if_else statements
...or the use of the named recipient. If you have received this e-mail in error, please let us know by replying to the sender, and immediately delete it from your system. Please note, that in these circumstances, the use, disclosure, distribution or copying of this information is strictly prohibited. KEMRI-Wellcome Trust Programme cannot accept any responsibility for the accuracy or completeness of this message as it has been transmitted over a public network. Although the Programme has taken reasonable precautions to ensure no viruses are present in emails, it cannot accept responsibility for any l...
2018 Feb 26
0
alternative for multiple if_else statements
...the named recipient. If you have received this e-mail in error, please let > us know by replying to the sender, and immediately delete it from your system. > Please note, that in these circumstances, the use, disclosure, distribution or > copying of this information is strictly prohibited. KEMRI-Wellcome Trust > Programme cannot accept any responsibility for the accuracy or completeness > of this message as it has been transmitted over a public network. Although the > Programme has taken reasonable precautions to ensure no viruses are present > in emails, it cannot accept resp...
2009 Aug 20
2
getting R 2.9.1 from the tar.gz file
...in error, please let us know by replying to the sender, and immediately delete it from your system. Please note, that in these circumstances, the use, disclosure, distribution or copying of this information is strictly prohibited. We apologize for any inconvenience that may have been caused to you. KEMRI-Wellcome Trust Programmecannot accept any responsibility for the accuracy or completeness of this message as it has been transmitted over a public network. KEMRI-Wellcome Trust Programme reserves the right to monitor all incoming and outgoing email traffic. Although the Programme has taken reasonab...
2008 Jul 22
3
Error in installing packages
Dear R Users; I am an R user who has recently bought a new laptop;Toshiba Satellite U405 running on both Windows Vista and Ubuntu. I have problems on the wondows vista when installing packages. The argument 'lib' is missing. How do i solve this problem? Illustration: > install.packages("epicalc") Warning in install.packages("epicalc") : argument 'lib'
2008 Jul 25
0
Errror in running R2.7.1 version to R2.6.2 version
Dear all, I get an error shown below when i run the command "use" found in package epicalc on R2.7.1 and R2.7.0 but dont get the error when i run it on R 2.6.2 What is likely to be the problem? library(epicalc) Loading required package: foreign Loading required package: survival Loading required package: splines use("malvac.dta") Error in fromchar(x) : character string
2008 Aug 06
3
Help in running Stata dataset in R
Dear All, I installed R 2.7.0 and tried to call a dataset i had ealier own called on R2.6.2 but i keep on getting an error: use("maltreat.dta") Error in fromchar(x) : character string is not in a standard unambiguous format Tried doing the same with R2.7.1 but i get the same error. However if i call the same on R 2.6.2, there is no error: use("maltreat.dta") > des()