i is now boundary, rrd returns data.frame, examples