Dear list, > Learning to use the power of R's indexing and functios like head() and > tail() (which are just syntactic sugar) will probably lead you not to miss > this. However, how do I exclude the last columns of a data.frame or matrix (or, in general, head and tail for given dimensions of an array)?
I.e. something nicer than t (head (t (x), -n)) for excluding the last n columns of matrix x THX, Claudia -- Claudia Beleites Dipartimento dei Materiali e delle Risorse Naturali Università degli Studi di Trieste Via Alfonso Valerio 6/a I-34127 Trieste phone: +39 (0 40) 5 58-34 47 email: cbelei...@units.it ______________________________________________ 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.