Description Usage Arguments Value Author(s) Examples
This function alerts the user to individuals with highly (or no variabality) variable max bite forces which may indicate an error in the measurment process. This uses the bite.summary dataframe generated from the file_cleaner function. If choosen this also will produce boxplots of individuals' max bite forces and indicate the number of bites an individual produced.
1 | bite_variation(bite.summary, var.threshold = 2, to_plot = TRUE)
|
bite.summary |
The bite summary dataframe produced by file_cleaner. |
var.threshold |
The user defined number of standard deviations, above which the user should be notified. |
to_plot |
Logical, should a plot be produced? |
Returns a warning if any individuals fall above the threshold or are 0. Will also return a plot if plot == T.
Michael Rivera
1 2 3 4 5 6 7 8 9 | #Use the file_cleaner function to create a bite.summary dataframe
example_file_path <- system.file("extdata", package = "AntBite")
list.files(example_file_path)
setwd(example_file_path)
output <- file_cleaner(folder = example_file_path, size_data = TRUE, size_file = "test_size_data.xlsx")
bite.summary <- output$bite.summary
bite_variation(bite.summary, var.threshold = 2, to_plot = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.