This function takes wide format ERA dataset where a control is compared to an experimental treatment and converts it to a long format where each row is a single unique outcome observation.

ERAWide2Long(Data)

Arguments

Data

The ERA.Compiled dataset or a subset of it.

Value

A data.table where control vs experimental treatment comparisons have been removed. Each unique outcome observation (control or experimental) is a row in this table.