summarizeValid: Summarize the validation data

Description Usage Arguments Value

Description

Summarize the validation data

Usage

1
2
summarizeValid(trapIn, year, hapDat = NULL, addDat = NULL,
  pathCsvOut = "", firstMethod = c("real", "pred")[1])

Arguments

trapIn

Either the path to the pest watch dump, the csv of the scrubing result, or the list of trap records

year

numerical year where the data should be extracted

hapDat

The haplotype data as the path to the csv output of the scrubbing or the matrix of the csv data.

addDat

additional data that you want to be included that must have the same row numbers as the original trap data. Either a vector or a list of vectors of the multiple pieces of data that you want to combine.

pathCsvOut

the path of the csv that will be outputted

firstMethod

How should the first Occurance be calculated? Either using the "real" method that takes the first time moths were actually captured, or the "pred" method that gets the first time the trap record could have traps in in that grid cell as determined by the length of the catch period.

Value

outputs a matrix of the csv output or if pathCsvOut is specified, works as a byproduct by writing a csvFile


sidjai/biosplit documentation built on May 29, 2019, 9:59 p.m.