# convert dat1 to wide from long format # idvar and timevar can take inputs of length > 1 reshape(dat1, idvar = "name", timevar = "numbers", direction = "wide")
# convert dat1 to wide from long format # idvar and timevar can take inputs of length > 1 reshape(dat1, idvar = "name", timevar = "numbers", direction = "wide")