outlierSearch: Search outliers in LFMC data

View source: R/outlierSearch.R

outlierSearchR Documentation

Search outliers in LFMC data

Description

Routine for search and flagg outliers in LFMC data

Usage

outlierSearch(lfmc_db, plotImpute = F, plotOutlier = F)

Arguments

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

Details

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.

Examples

## Not run: 
LFMC::setDBpath("lfmc.sqlite")
lfmc_db <- DBI::dbConnect(RSQLite::SQLite(), get("lfmcdbfile"))
outlierSearch(lfmc_db)
dbDisconnect(lfmc_db)

## End(Not run)


spif-ctfc/LFMC documentation built on Sept. 29, 2022, 2:21 a.m.