Learn R Programming

bite (version 0.3)

format_jive_traits: Format traits matrix to parse into make_jive function

Description

This function takes a dataframe with indivdual observations ans species names and returns a traits matrix to to parse into make_jive function

Usage

format_jive_traits(obs)

Arguments

obs

a dataframe with species names in the first column and individual trait values in the second columns

Value

a list of size equal to the number of species. Each element contains a vector of numerical values representing individual observation for that species.