merge and make long to wide data frame
1 2 | lhmerge_long_data(dat1 = dd1, dat2 = dd2, long.vector1 = "PARAMCD",
long.vector2 = "PARAMCD", value1 = "AVAL", value2 = "CHG")
|
dat1, dat2 |
Data frame 1 and 2 with long vectors and values. Note: no duplicated sorting vector allowed |
long.vector |
Vector containing wide variable names |
value |
Column containing values associated with each wide variable. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.