[R] recycling rule

Thomas Lumley thomas at biostat.washington.edu
Wed Nov 24 01:44:36 CET 1999


On Wed, 24 Nov 1999, Research Division wrote:

> I was illustrating the use of R to some of my students 
> here in the Philippines: 
> The following question was posed:  "is there any 
> motivation for the development
> of the recycling rule for vector 
> manipulation, especially for fractional replication?"
> I had no idea how to answer this. 

For integer replication I think the motivation is to handle
vector+scalar, vector+matrix, and scalar+matrix operations.

I would say that the fractional replication is just a side-effect.
	
	-thomas

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list