logicals in data frames -- as.data.frame() should allow them

Martin Maechler Martin Maechler <maechler@stat.math.ethz.ch>
Mon, 17 Jun 2002 18:31:36 +0200


Currently, as.data.frame() , i.e., at least its "matrix" method,
still coerces logicals to factors.  I think this is not desired
and not according to the changes to read.table() for R 1.4.0
which allow logicals.

Does anybody see a reason against a change which would allow
logical matrices to become data.frames with logical variables ? 

Martin Maechler <maechler@stat.math.ethz.ch>	http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum  LEO C16	Leonhardstr. 27
ETH (Federal Inst. Technology)	8092 Zurich	SWITZERLAND
phone: x-41-1-632-3408		fax: ...-1228			<><
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._