Transforms data to be used in Entropart package

Share:

Description

Transform a dataframe used in diverse to values of abundance to be used in Entropart.

Usage

1
to_entropart(data)

Arguments

data

a dataframe used in diverse with three columns, entity, category and value of abundance.

Value

An object of type matrix of abundance to be used in entropart to create metacommunities.

Examples

1
ab <- to_entropart(sim_dataset(c(1,2)))