dropAnimals: Remove an animal from the experiment

Description Usage Arguments Value See Also Examples

Description

This function removes a specified animal from a dataset. Can operate on vectors, removing multiple animals in a single operation. To remove animals by their metadata, such as "remove all females", use dropAttribute instead.

Usage

1
dropAnimals(obj, vialNumbers)

Arguments

obj

A valid DAM S4 object

vialNumbers

Which vial numbers to remove from a dataset. Can be a vector.

Value

A DAM S4 object.

See Also

dropAttribute

Examples

1
2
3
returnedDAM <- dropAnimals(DAM_DD, 12)

returnedDAM <- dropAnimals(DAM_DD, c(1:3))

kazi11/actmon documentation built on May 20, 2019, 7:53 a.m.