prepBoxplotHealthData: Prepare data for making the boxplots of health during...

View source: R/prepBoxplotHealthData.R

prepBoxplotHealthDataR Documentation

Prepare data for making the boxplots of health during entanglement

Description

The goal of this is to make the box plots of the health during the entanglement window. This uses two data frames: (tangRepro and tangNonRepro) which are stored in the package structure. The function also used the unimpacted reference cases that are returned from the 'returnUnimpactedHealth.R' helper function. This function returns two data frames: dfLongRepro, and dfLongNonRepro

Usage

prepBoxplotHealthData(tangRepro, tangNonRepro, anomFlag = FALSE, thold = 67)

Arguments

tangRepro

data frame with information on the temporal extend of windows for entnanglement events of reproductively active animals

tangNonRepro

data frame with information on the temporal extend of windows for entnanglement events of non-reproductively active animals

Value

dfLongRepro a melted data frame of the health of reproductively active animals during entanglement windows

dfLongNonRepro a melted data frame of the health of non-reproductively active animals during entanglement windows

Examples

## Not run: 
prepBoxplotHealthData(tangRepro, tangNonRepro, anomFlag = TRUE, thold = 67)

## End(Not run)

robschick/tangled documentation built on May 9, 2022, 4:07 p.m.