Oleg Bartunov <oleg <at> sai.msu.su> writes:

> I want to keep indexes
> of original data, but replace original data with $mids of corresponding
> $breaks.


Note the label= arg on cut:

cut(z,t$breaks,lab=t$mids)

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to