
Last chance! 50% off unlimited learning
Sale ends in
xy.group(x, y, m=150, g, fun=mean, result="list")
cut2
, tapply
# plot(xy.group(x, y, g=10)) #Plot mean y by deciles of x
# xy.group(x, y, m=100, result="matrix") #Print table, 100 obs/group
Run the code above in your browser using DataLab