eco-hydro / phenofit-scripts

phenofit examples in version 3.0
GNU General Public License v2.0
21 stars 4 forks source link

could not find function "select_first_nGS" #11

Closed renliang1996 closed 1 year ago

renliang1996 commented 1 year ago

df2 = select_first_nGS(df, nGS = 3)

Error in select_first_nGS(df, nGS = 3) :

could not find function "select_first_nGS"

kongdd commented 1 year ago

source("main_pkgs.R") first https://github.com/eco-hydro/phenofit-scripts/blob/de67875c20088b2d155c946428210f3527d60d2e/main_pkgs.R#L112

A complete example: https://github.com/eco-hydro/phenofit-scripts/blob/master/multiGS_MODIS_Henan/phenofit-MOD13A2_HeNan.Rmd#L17