read_data: Read in the raw data files

View source: R/Get_Jacobians_Functions.R

read_dataR Documentation

Read in the raw data files

Description

Competition and abundance data must be read in together, to make sure that species match. Some species may appear in the abundance table but not in the species contact matrix, because they do not interact with anyone yet). These species are dropped from the list. Species in the abundance table are also reordered to match the order of species in the species contact matrix.

Usage

read_data(path_competition, path_abundance)

Arguments

path_competition

path to species contact matrix .csv file

path_abundance

path to abundance .csv file

Value

A list containing two data frames: the species contact matrix and a cleaned abundance table


franzikoch/Feedbackloops documentation built on July 1, 2023, 12:42 p.m.