Learn R Programming

FFD (version 1.0-9)

Freedom from Disease

Description

Functions, S4 classes/methods and a graphical user interface (GUI) to design surveys to substantiate freedom from disease using a modified hypergeometric function (see Cameron and Baldock, 1997, ). Herd sensitivities are computed according to sampling strategies "individual sampling" or "limited sampling" (see M. Ziller, T. Selhorst, J. Teuffert, M. Kramer and H. Schlueter, 2002, ). Methods to compute the a-posteriori alpha-error are implemented. Risk-based targeted sampling is supported.

Copy Link

Version

Install

install.packages('FFD')

Monthly Downloads

246

Version

1.0-9

License

GPL (>= 2)

Maintainer

Ian Kopacka

Last Published

November 8th, 2022

Functions in FFD (1.0-9)

IndSamplingSummary-class

Class "IndSamplingSummary"
FFD-internal

Internal FFD functions
SurveyData-class

Class "SurveyData"
computeAposterioriError

FUNCTION to compute the a-posteriori error.
computeAlphaLimitedSampling

FUNCTION to compute the average alpha-error (= error of first kind) for limited sampling.
LtdSamplingSummary-class

Class "LtdSamplingSummary"
FFD_GUI

Freedom From Disease sampling plan calculator
computeAlpha

FUNCTION to compute the herd-based alpha-errors (= 1 - herd sensitivity).
IndSampling-class

Class "IndSampling"
computePValueRiskGroups

FUNCTION to compute the probability of finding no testpositives in a sample of a certain size for a population stratified into risk groups.
computeOptimalSampleSizeRiskGroups

FUNCTION to compute the optimal sample size for populations stratified by risk factors.
ltdSampling

Constructor for class 'LtdSampling'.
computeAposterioriErrorRiskGroups

FUNCTION to compute the a-posteriori error considering a population stratified into risk geroups.
lls

List Objects
ltdSamplingSummary

Constructor for class 'LtdSamplingSummary'.
surveyData

Constructor for class 'SurveyData'.
sheepData

Simulated test data frame of Austrian sheep holdings.
indSamplingSummary

Constructor for class 'IndSamplingSummary'.
indSampling

Constructor for class 'IndSampling'.
computeOptimalSampleSize

FUNCTION to compute the optimal sample size.
computePValue

FUNCTION to compute the probability of finding no testpositives in a sample of a certain size.
LtdSampling-class

Class "LtdSampling"