twilightEdit: Search and edit twilight outliers

View source: R/TwGeos.R

twilightEditR Documentation

Search and edit twilight outliers

Description

Automated (Objective) editing and deletion of twilight times (experimental)

Usage

twilightEdit(twilights, offset = 17, window = 4, outlier.mins = 45,
  stationary.mins = 15, zlim = c(0, 64), plot = T)

Arguments

twilights

a dataframe with columns Twilight and Rise

offset

the starting hour for the vertical axes.

window

the number of neighboring twilights

outlier.mins

threshold for outliers (in minutes)

stationary.mins

threshold for variation of twiligths at stationary site (in mins)

Details

This function searches for outliers and either deletes or adjusts them based on three defined thresholds.

'window' ...
'outlier.mins' ...
'stationary.mins' ...

Value

the dataframe of edited twilights, with columns

Twilight

times of (edited) twilight

Rise

logical indicating sunrise

Deleted

logical indentifying deleted twilights

Edited

logical indentifying edited twilights

Twilight0

Original twilight time


slisovski/TwGeos documentation built on Jan. 27, 2024, 10:43 a.m.