Displaying 1 result from an estimated 1 matches for "combined_list".
2011 Jun 15
1
Reshaping data with xtabs reorders my rows
...list, doesn't matter) of matrices form.
However when using xtabs function it orders my rows alphabetically and
apparently doesn't take "reorder = FALSE" option or anything like it.
Is there anything I can do to stop it from doing so?
Relevant parts of code:
matrices.m <- melt(combined_list)
matrices.m_i[is.na(matrices.m_i$value),]$value <- predictions
matrices <- xtabs(value ~ location + variable + week, data =
matrices.m_i)
--
while(!succeed) { try(); }