update_all: Update bacteria infections by phage

Description Usage Arguments Details Value Examples

View source: R/update_all.R

Description

Updates the bacteria infections by phage, generating or decaying phage

Usage

1
update_all(data_bac, data_pha, p, tr_count = 0)

Arguments

data_bac

The dataset containing the bacteria information

data_pha

The dataset containing the phage information

p

General parameters. These must have been created using the set_params function.

Details

This function is not best practice, as it updates the datasets by forcibly reassigning them to the gloabl environment!!

Value

Updated phae and bacteria datasets, assigned to the global environment

Examples

1
update_all(data_bac=data_bac, data_pha=data_pha, gen=0, p=params)

qleclerc/spatial_phage documentation built on Dec. 4, 2020, 10:11 p.m.