trackJR_summ: trackJR_summ

Description Usage Arguments Value Examples

Description

Generate a simple summary for each 'boxes' solving how many points are in the box?.

Usage

1
trackJR_summ(data_trackJR, boxes = NULL, var_names = NULL)

Arguments

data_trackJR

The data frame with columns "fr", "x" and "y" generated by the 'trackJR' function.

boxes

a Lit of The boxes names generated by the 'trackJR_box' function.

var_names

a List variable names to call the boxes.

Value

It return a data.frame with the count of point in each boxes.

Examples

1
2
3
4
5
6
7
8
mypathDirandFile<-"C:/Users/test/vid.mp4"
dataT<-trackJR(mypathDirandFile)
graf<-trackJR_ggplot(mypathDirandFile,dataT)
trackJR_box(graf,"box1")
trackJR_box(graf,"box2")
trackJR_box(graf,"box3")

summaryData<- trackJR_summ (dataT,list(box1,box2,box3),list("estimuli","control","blank"))

Gdlv/trackJR documentation built on June 24, 2021, 2:06 p.m.