Learn R Programming

eggCounts (version 2.4)

fecrtCI: Compute standard FECRT according to WAAVP guidelines

Description

Computes the standard Faecal Egg Count Reduction Test together with approximate confidence interval according to the WAAVP guidelines (Coles et al., 1992, 2006). The function also returns bootstrap confidence intervals.

Usage

fecrtCI(epg1, epg2, paired = FALSE, alpha = 0.05, R = 1999)

Value

A list with

estimate

estimated percentage reduction in mean epg

bootCI

bootstrap confidence interval

approxCI

approximate confidence interval

Arguments

epg1

numeric vector. Faecal egg counts in untreated animals.

epg2

numeric vector. Faecal egg counts in treated animals.

paired

logical. If TRUE, indicates samples are paired. Otherwise samples are unpaired.

alpha

numeric. Confidence level of the interval.

R

numeric. Number of bootstrap replicates.

Author

Michaela Paul

References

Coles GC, Bauer C, Borgsteede FHM, Geerts S, Klei TR, Taylor MA and Waller, PJ (1992). World Association for the Advancement of Veterinary Parasitology (WAAVP) methods for the detection of anthelmintic resistance in nematodes of veterinary importance, Veterinary Parasitology, 44:35-44.

Coles GC, Jackson F, Pomroy WE, Prichard RK, von Samson-Himmelstjerna G, Silvestre A, Taylor MA and Vercruysse J (2006). The detection of anthelmintic resistance in nematodes of veterinary importance, Veterinary Parasitology, 136:167-185.

Examples

Run this code
data(epgs)
fecrtCI(epgs$before, epgs$after, paired = TRUE)

Run the code above in your browser using DataLab