Convert data from wide to long

wide_to_long(x, times)

Arguments

x

data frame to convert

times

vector of time points. should be the same length as nrow(x)

Value

data frame in long format