[R] Do there need to be the same number of y-values for each x-value when using tapply?

Martin Maechler mm@ech|er @end|ng |rom gm@||@com
Sun Jul 8 09:54:30 CEST 2018


The answer to your Q is surely a "no": That's exaxtly the point of tapply
that the number of y values may vary. The msg tells you that the x & y full
vectors must have the same length.

Hoping that helps.
Martin

	[[alternative HTML version deleted]]




More information about the R-help mailing list