updateSavedGroupMembers: Conveniece function to update the groupMembers list

Description Usage Arguments Value

View source: R/updateSavedGroupMembers.R

Description

Conveniece function to update the groupMembers list

Usage

1
updateSavedGroupMembers(savedGroupMembers, currentGroup, groupMembers)

Arguments

savedGroupMembers

list of animals in best group thus far. Initialized with list().

currentGroup

character vector of IDs of animals currently assigned to the group. Defaults to NULL assuming no groups are existant.

groupMembers

list of animals in the group at the current iteration

Value

Updated savedGroupMembers list


rmsharp/nprcmanager documentation built on Jan. 22, 2019, 7:03 a.m.