functionaldata / tPACE

Testing version of fdapace
Other
31 stars 22 forks source link

deduplication of common inputs #52

Closed hadjipantelis closed 4 years ago

hadjipantelis commented 4 years ago

Just a minor addition to automatically de-duplicate when creating FPCA inputs. Values at duplicated time-points are replaced by their arithmetic mean. So for example if we have tVec = c(1,2,3,4,4,10); yVec = c(1,2,3,4,5,6) we will automatically get tVec = c(1,2,3,4,10); yVec = c(1,2,3,4.5,6).

codycarroll commented 4 years ago

Nice, thanks Pantelis! Will merge into master before the next update. Cody