Wide-formatted Data-frame
to_wide.Rd
Wide-formatted Data-frame
Arguments
- df
Input data-frame in long format.
- variable
A valid column name denoting the variable of interest.
- device
A boolean denoting if this is the device data-frame; default assumes grader data-frame.
- device_proc
Summarises how the multiple device images should be dealt with. If it is a continuous variable, you can specify to take either the mean or median as the value. Otherwise, specify an integer denoting the image number to take.