search for: datatransp

Displaying 1 result from an estimated 1 matches for "datatransp".

2006 May 23
2
transpose dataset to PC-ORD?
...anks for the help, Dan Gruner (Windows XP, R vers2.2) ##transpose datasets to convert to PC-ORD format data<-read.csv("data.csv", header=TRUE, as.is=T, strip.white=T, na.strings="NA") data<-as.matrix(data) data.trans <- t(data) write.csv(data.trans, file = "datatransp.csv", quote = F, na = "") ******************************* Daniel S. Gruner, Postdoctoral Scholar Bodega Marine Lab, University of California -- Davis PO Box 247, 2099 Westside Rd Bodega Bay, CA 94923-0247 (o) 707.875.2022 (f) 707.875.2009 (m) 707.338.5722 email: dsgruner_...