to_daily function

Extract a single row from each day in an xts object