acummulate_incidence: Acummulate incidence from interaction data frame

View source: R/acummulate_incidence.R

acummulate_incidenceR Documentation

Acummulate incidence from interaction data frame

Description

Acummulate incidence from interaction data frame

Usage

acummulate_incidence(data, group, incidence = incidence)

Arguments

data

A data.frame object with interaction information

group

A group column in data data.frame to acummulate incidence in an interaction data.frame

incidence

The incidence of interaction in the data data.frame

Value

A data.frame with the summarized incidence from an interaction data.frame. Includes the acummulated incidence for each group provided

Examples

library(ecointeraction)
 acummulate_incidence(mammalvirus, virus, incidence)

alrobles/PNASSubmit-Wildlife-susceptibility-to-infectious-diseases-at-global-scales documentation built on Aug. 2, 2022, 5:15 p.m.