resamplingRate: resampling rate, units in centimeters
scHeight: a function that calculates the resulting height from the profiles, default median
...: arguments passed on to the function provided in scHeight
Returns
A list with the first entry $set storing the rescaled and resampled profile list, the second entry $maxHS stores the maximum snow height found among the profiles
Examples
## let's take the 'SPgroup' object as profile listSPrr <- reScaleSampleSPx(SPgroup)print(paste0("max height before rescaling: ", SPrr$maxHS," cm"))print(paste0("rescaled height: ", SPrr$set[[1]]$hs," cm"))plot(SPrr$set, SortMethod ='unsorted')