combn_changes | R Documentation |
Compares a value with all previous values
combn_changes(...)
## S3 method for class 'data.frame'
combn_changes(.data, dttm, val, pt_id, ...)
## S3 method for class 'POSIXct'
combn_changes(dttm, val, pt_id, ...)
... |
Further optional arguments |
.data |
(data.frame) A data.frame, optional |
dttm |
DateTime
column name, or vector of POSIXct if |
val |
Variable
column name, or vector of units or numeric if |
pt_id |
Patient ID
column name, or vector of characters or factors if |
Combinatorics changes of the same type provided (numeric or units)
combn_changes(aki_pt_data, dttm = "dttm_", val = "SCr_", pt_id = "pt_id_")
aki_pt_data %>%
combn_changes(dttm_, SCr_, pt_id_)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.