| birp_data_from_file | R Documentation |
Constructs a 'birp_data' object from one or more input files, each representing data for a different method.
birp_data_from_file(filenames, method_names = NA, sep = ",")
filenames |
A character vector of file paths. Each file must contain a data frame with the columns 'timepoint', 'location', 'counts', 'effort' and 'CI_group'. |
method_names |
Optional vector of method names corresponding to the input files. If not provided, names are inferred from the file names. |
sep |
The field separator used in the files (default is comma). |
An object of type birp_data
dir <- system.file("extdata", package = "birp")
filenames <- file.path(dir, "birp_Method_1_simulated_counts.txt")
data <- birp_data_from_file(filenames = filenames, sep = "\t")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.