lhmerge_long_data: merge and make long to wide data frame

Description Usage Arguments

Description

merge and make long to wide data frame

Usage

1
2
lhmerge_long_data(dat1 = dd1, dat2 = dd2, long.vector1 = "PARAMCD",
  long.vector2 = "PARAMCD", value1 = "AVAL", value2 = "CHG")

Arguments

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.


leonpheng/lhtool documentation built on Dec. 16, 2019, 3:52 a.m.