View source: R/outlierSearch.R
outlierSearch | R Documentation |
Routine for search and flagg outliers in LFMC data
outlierSearch(lfmc_db, plotImpute = F, plotOutlier = F)
lfmc_db |
LFMC database connection |
plotImpute |
Whether or not plot imputations by site_species series |
plotOutlier |
Whether or not plot outliers by site_species series |
Outlier search is carried out only for LFMC series with more than 15 years of data. The parameters for the ARIMA model fitted to detect outliers by LFMC series are read from 'arimaParameters.rda'. Delta parameter for TC was specified as 0.5 for Q. coccifera and 0.7 for the other species.
## Not run: LFMC::setDBpath("lfmc.sqlite") lfmc_db <- DBI::dbConnect(RSQLite::SQLite(), get("lfmcdbfile")) outlierSearch(lfmc_db) dbDisconnect(lfmc_db) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.