[R] Warning on assignment.

Peter Dalgaard P.Dalgaard at biostat.ku.dk
Thu Jan 15 19:27:58 CET 2009


rkevinburton at charter.net wrote:
> This was just an illustration. It is the warning message that I don't
understand. The warning says "number of items to replace is not a
multiple of replacement length". The way I look at it 10 is a multiple
of 20.

Um, with a multiplier of 0.5 ?

You're trying to put 20 things in 10 boxes. R will allow 10 things in 20
boxes (by recycling) without complaining.

-- 
   O__  ---- Peter Dalgaard             Øster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark      Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)              FAX: (+45) 35327907




More information about the R-help mailing list