Skip to content
Prev 165476 / 398506 Next

filling values in a vector using smaller vector

Wacek Kusnierczyk wrote:
oops, i read your mail too quickly, assumed you wanted to make an
in-place replacement.  the functional way would be:

replace(large, which(large), small)

vQ