user2016 | Integrated R labs for high school students | Learning library
kandi X-RAY | user2016 Summary
kandi X-RAY | user2016 Summary
Amelia McNamara, James Molyneux, Terri Johnson.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of user2016
user2016 Key Features
user2016 Examples and Code Snippets
Community Discussions
Trending Discussions on user2016
QUESTION
I'm trying to know which observations are active during specific episodes of time
My real objective is to know which Diagnosis (dx) are active during a Pregnancy period (9 months) by a patient. It has to be considered that a patient can have different number of pregnancies along her life and also a different number of diagnosis (the dx can or can't be active ).
I have tried foverlaps like here or here but weren't exactly what I was looking for. The real problem is this and it's well documented but not for R.
Here they make it work for SQL I think. So I hope it's solvable...
I also tried Non-Equi Joins like this but I'm not able to make it work the way I want...
Let's get into it:
I have one DB with patient (id) Diagnosis (dx), the time it was registered (InD_dx) and the time it ended (EndD_dx) like this:
...ANSWER
Answered 2021-Mar-31 at 15:51type = 'within'
is excluding some partial overlaps you're looking for.
Try:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install user2016
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page