filterByLastPb: Filter SingSparrow OC according to last playbacks

Description Usage Arguments Details

View source: R/filterByLastPb.R

Description

Filter SingSparrow OC according to last playbacks

Usage

1
filterByLastPb(data, filtype = NA, ...)

Arguments

data

Dataframe containing SingSparrow data.

filtype

Type of filter. Can the take the values 'onesong', 'bothsongs', or 'bothsongs_plus100'.

...

Other arguments passed to getLastPb().

Details

This function filters SingSparrow data according to the last time a song was played back. The type of filter is specified via the argument filtype. A value of 'onesong' means that the dataframe will be filtered to contain all records per day until playback of one of the songs was exhausted. A value of 'bothsongs', until playback of both songs were exahusted. A value of 'bothsongs_plus100', 100 presses after playback of both songs were exhausted.


crodriguez-saltos/songPreference documentation built on Sept. 16, 2019, 7:09 a.m.