Hi Martin, did you ever find a solution? I have the a similar problem because I want to do a regression where the independent and dependent variables are matrices of measurements. I can run loops to make each matrix one very long vector, but I m looking for a more elegant solution.
Thank you! Frauke -- View this message in context: http://r.789695.n4.nabble.com/converting-3D-array-to-a-data-frame-with-coordinate-columns-x-y-z-tp3875064p4644022.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.