Displaying 3 results from an estimated 3 matches for "j666".
Did you mean:
0666
2017 Oct 14
0
Populate one data frame with values from another dataframe for rows that match
...rd to see what is going on, but maybe I
completely misunderstand the problem. In any case, let's redefine myDF1
and myDF2. Note that myDF1 contains a studyno not in myDF2 and vice versa.
myDF1 <- structure(list(studyno = c("J1000/9", "J895/7", "J931/6", "J666/6",
"J1000/9", "J1000/9"), date = structure(c(17123, 17127, 17135,
17144, 17148, 17155), class = "Date"), pf_mcl = c(NA_integer_,
2L, 3L, 4L, 5L, NA_integer_
), year = c(2016, 2016, 2016, 2016, 2016, 2016)), .Names = c("studyno",
"date", "...
2017 Oct 15
1
Populate one data frame with values from another dataframe for rows that match
...rd to see what is going on, but maybe I completely misunderstand the problem. In any case, let's redefine myDF1 and myDF2. Note that myDF1 contains a studyno not in myDF2 and vice versa.
myDF1 <- structure(list(studyno = c("J1000/9", "J895/7", "J931/6", "J666/6",
"J1000/9", "J1000/9"), date = structure(c(17123, 17127, 17135,
17144, 17148, 17155), class = "Date"), pf_mcl = c(NA_integer_,
2L, 3L, 4L, 5L, NA_integer_
), year = c(2016, 2016, 2016, 2016, 2016, 2016)), .Names = c("studyno",
"date", "...
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