From Andreas.Weingessel@ci.tuwien.ac.at  Thu Mar 11 08:36:35 1999
From: Andreas.Weingessel@ci.tuwien.ac.at (Andreas.Weingessel@ci.tuwien.ac.at)
Date: Thu, 11 Mar 1999 09:36:35 +0100
Subject: : for factors (PR#139)
Message-ID: <199903110836.JAA10063@biostat.ku.dk>


The following example from the help page does not work:

> f1_ gl(2,3); f1
> f2_ gl(3,2); f2
> f1:f2 # a factor, the ``cross''  f1 x f2

yields

Warning in f1:f2 : Numerical expression has 6 elements: only the first used
[1] 1

whereas R-0.61.2 yields

> f1:f2 # a factor, the ``cross''  f1 x f2
[1] 1:1 1:1 1:2 2:2 2:3 2:3

Note that the new behavior is consistent with S+ (but not with the
help page).

	Andreas


--please do not edit the information below--

Version:
 platform = i686-unknown-linux
 arch = i686
 os = linux
 system = i686, linux
 status = in progress
 status.rev = 0
 major = 0
 minor = 63.3
 year = 1999
 month = February
 day = 24
 language = R

Search Path:
 .GlobalEnv, Autoloads, package:base

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


: for factors (PR#139)
Andreas.Weingessel@ci.tuwien.ac.at