View source: R/blood_culture_window.R
find_bx_window | R Documentation |
According to the CDC, in order for sepsis to take place, organ dysfunction and antibiotic administration must have taken place within 2 days before or 2 days after blood cultures being drawn.
find_bx_window(.data, timestamp_variable, blood_culture_time)
.data |
The dataset you are working with. |
timestamp_variable |
The time for the variable you want to test it it occurs within the blood culture window |
blood_culture_time |
The timestamp of your blood culture value |
Gives a dataset with a new variable consisting of the difference between two time periods
## Not run: result <- find_bx_window(data, service_time, culture_draw_time) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.