Learn R Programming

ethnobotanyR (version 0.1.0)

URsum: Sum of all Use Reports (UR) for all species

Description

This function allows you to calculate the sum of all ethnobotany use reports (UR) for all species, a common metric for ethnobotany studies.

Usage

URsum(data)

Arguments

data

is an ethnobotany data set with column 1 'informant' and 2 'sp_name' as row identifiers of informants and of species names respectively. The rest of the columns are the identified ethnobotany use categories. The data should be populated with counts of uses per person (should be 0 or 1 values).

Examples

Run this code
# NOT RUN {
URsum(ethnobotanydata)

# }

Run the code above in your browser using DataLab