add iGDP for resampled data
updated version of roxygen