Closed ValentineHerr closed 1 year ago
@VincyaneBadouard, in your example for PunctualErrorDetection, is it normal that the function does not detect issues in the "2 shifts error case"?
PunctualErrorDetection
> Time <- c(2000, 2002, 2004, 2006, 2008, 2012, 2014, 2016, 2020) > > # 1 ind at a time > ## Punctual error case > DBHCor <- c(13, 14, 15, 16, 30, 19, 15, 21, 23) > plot(Time, DBHCor)
> PunctualErrorDetection(DBHCor = DBHCor, Time = Time) [1] 13 14 15 16 NA 19 NA 21 23
> ## 2 shifts error case > DBHCor <- c(13, 14, 15, 16, 12, 14, 15, 11, 13) > plot(Time, DBHCor)
> PunctualErrorDetection(DBHCor = DBHCor, Time = Time) [1] 13 14 15 16 12 14 15 11 13
yes because: it's not a punctual error " @return The diameter vector (numeric) with NA instead of the punctual errors
ah oui pardon!
@VincyaneBadouard, in your example for
PunctualErrorDetection
, is it normal that the function does not detect issues in the "2 shifts error case"?