I'm wondering if there is a simple way to assign a quantile to a vector in a
data frame, much like one could in Stata using centile. Let's say I want 100
slices in my assignation. I can easily see what the limits of each slice by
using quantile:
quantile(my.df$my.var, probs=seq(0, 1, 0.01))

But how do I assign the appropriate value to each row/record in my data
frame? Clearly the following won't work, but what will?

my.df$my.new.var <- quantile(my.df$my.var, probs=seq(0, 1, 0.01))

	[[alternative HTML version deleted]]

