diagnose_detection: Diagnose Detection

Description Arguments Value Examples

View source: R/diagnose_detection.R

Description

This function is meant to provide a fast plot of the 'xy' position trace, 'x' and 'y' velocities for diagnosis. It can inform the threshold needed for finding wrong detections. User input is required to decide whether the detections are correct (nothing needs to be done) or incorrect (tagged for step detection).

Arguments

df

data.frame containing 'x' and 'y' coordinates of subject 'id'.

Value

data.frame with id and user input regarding correct

Examples

1
2
3
set.seed(123)
df <- data.frame(id = "first_target", frameID=1:1000, x=rnorm(1000, 0, 5), y = rnorm(1000, 0, 5))
diagnose_detection(df)

matiasandina/stepfinder documentation built on Oct. 25, 2019, 9:24 a.m.