[R] Reversing table()

Kevin E. Thorpe kevin.thorpe at utoronto.ca
Fri Mar 17 13:23:13 CET 2017


I am wondering if there is a way to undo the results of table().

For example if you had a table that looked like the result of table(x, y) or 
table(x, y, z) is there a simple/elegant way to reverse the process to get the 
"original" x, y and z vectors?

Thanks,

Kevin

-- 
Kevin E. Thorpe
Head of Biostatistics,  Applied Health Research Centre (AHRC)
Li Ka Shing Knowledge Institute of St. Michael's Hospital
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
email: kevin.thorpe at utoronto.ca  Tel: 416.864.5776  Fax: 416.864.3016



More information about the R-help mailing list