to_entropart {diverse}R Documentation

Transforms data to be used in Entropart package

Description

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

Usage

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

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

[Package diverse version 0.1.5 Index]