hampel_time | R Documentation |
detect outliers in bearings using hampel filter in a moving time window
hampel_time(path_to_data, col, k, t0 = 0.5, animal)
path_to_data |
string, dpath to file containing bearings |
col |
string, string indicating the column containing bearings |
k |
numeric, window size n seconds |
t0 |
numeric,threshold for median filter. A high threshold makes the filter more forgiving, a low one will declare more points to be outliers. Default=0.5 |
animal |
list, list generated by initAnimal functiom |
Jannis Gottwald
#projroot<-paste0(getwd(),"/tRackIT_test_data/")
#animal <- getAnimal(projroot, animalID = "woodpecker")
#bearings <- list.files(animal$path$bearings, full.names = TRUE)
#lapply(bearings, function(x) hampel_time(path_to_data = x, col = "linear", animal = animal, k = 10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.