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)