loadOC: Load output files from SingSparrow

Description Usage Arguments Details Value

View source: R/loadOC.R

Description

Load output files from SingSparrow

Usage

1
2
loadOC(birDir, bird = NULL, datalim = NA, exclude = NA,
  fmt = "2015", zerokeyrm = T)

Arguments

birDir

Folder containing output files.

bird

Id of the bird.

datalim

Number of records from each day to be kept

fmt

Format of keypress data file.

zerokeyrm

Logical. Should rows with values of zero for key be removed?

exlude

Indexes of records to exclude.

Details

If bird is not provided, then it is assumed to be the basename of birDir.

The exclude indexes apply to the dataframe output by the plotting function. The indexes should be retrieved after preliminary exploration of the database.

Possible formats of the keypress data file are "2015" or "2019".

Value

A database containing values from SingSparrow! output in human-readable format.


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