Package: FFD 1.0-9

Ian Kopacka

FFD: Freedom from Disease

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, <doi:10.1016/s0167-5877(97)00081-0>). 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, <doi:10.1016/S0167-5877(01)00245-8>). Methods to compute the a-posteriori alpha-error are implemented. Risk-based targeted sampling is supported.

Authors:Ian Kopacka

FFD_1.0-9.tar.gz
FFD_1.0-9.zip(r-4.5)FFD_1.0-9.zip(r-4.4)FFD_1.0-9.zip(r-4.3)
FFD_1.0-9.tgz(r-4.4-any)FFD_1.0-9.tgz(r-4.3-any)
FFD_1.0-9.tar.gz(r-4.5-noble)FFD_1.0-9.tar.gz(r-4.4-noble)
FFD_1.0-9.tgz(r-4.4-emscripten)FFD_1.0-9.tgz(r-4.3-emscripten)
FFD.pdf |FFD.html
FFD/json (API)

# Install 'FFD' in R:
install.packages('FFD', repos = c('https://r-forge.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://r-forge.r-project.org/projects/ffd

Datasets:
  • sheepData - Simulated test data frame of Austrian sheep holdings.

On CRAN:

20 exports 2.24 score 1 dependencies 8 mentions 20 scripts 332 downloads

Last updated 2 years agofrom:5db410fc81. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 23 2024
R-4.5-winOKAug 23 2024
R-4.5-linuxOKAug 23 2024
R-4.4-winOKAug 23 2024
R-4.4-macOKAug 23 2024
R-4.3-winOKAug 23 2024
R-4.3-macOKAug 23 2024

Exports:computeAlphacomputeAlphaLimitedSamplingcomputeAposterioriErrorcomputeAposterioriErrorRiskGroupscomputeOptimalSampleSizecomputeOptimalSampleSizeRiskGroupscomputePValuecomputePValueRiskGroupsFFD_GUIHTMLindSamplingindSamplingSummaryllsltdSamplingltdSamplingSummaryplotsampleshowsummarysurveyData

Dependencies:R2HTML

FFD: Package to substantiate freedom from disease in R

Rendered fromFFD-intro.Rnwusingutils::Sweaveon Aug 23 2024.

Last update: 2015-02-20
Started: 2013-03-21

Readme and manuals

Help Manual

Help pageTopics
FUNCTION to compute the herd-based alpha-errors (= 1 - herd sensitivity).computeAlpha
FUNCTION to compute the average alpha-error (= error of first kind) for limited sampling.computeAlphaLimitedSampling
FUNCTION to compute the a-posteriori error.computeAposterioriError
FUNCTION to compute the a-posteriori error considering a population stratified into risk geroups.computeAposterioriErrorRiskGroups
FUNCTION to compute the optimal sample size.computeOptimalSampleSize
FUNCTION to compute the optimal sample size for populations stratified by risk factors.computeOptimalSampleSizeRiskGroups
FUNCTION to compute the probability of finding no testpositives in a sample of a certain size.computePValue
FUNCTION to compute the probability of finding no testpositives in a sample of a certain size for a population stratified into risk groups.computePValueRiskGroups
Freedom From Disease sampling plan calculatorFFD_GUI
Constructor for class 'IndSampling'.indSampling
Class "IndSampling"HTML,IndSampling-method IndSampling-class sample,IndSampling-method show,IndSampling-method summary,IndSampling-method
Constructor for class 'IndSamplingSummary'.indSamplingSummary
Class "IndSamplingSummary"HTML,IndSamplingSummary-method IndSamplingSummary-class plot,IndSamplingSummary-method show,IndSamplingSummary-method summary,IndSamplingSummary-method
List Objectslls
Constructor for class 'LtdSampling'.ltdSampling
Class "LtdSampling"HTML,LtdSampling-method LtdSampling-class sample,LtdSampling-method show,LtdSampling-method summary,LtdSampling-method
Constructor for class 'LtdSamplingSummary'.ltdSamplingSummary
Class "LtdSamplingSummary"HTML,LtdSamplingSummary-method LtdSamplingSummary-class plot,LtdSamplingSummary-method show,LtdSamplingSummary-method summary,LtdSamplingSummary-method
Simulated test data frame of Austrian sheep holdings.sheepData
Constructor for class 'SurveyData'.surveyData
Class "SurveyData"show,SurveyData-method summary,SurveyData-method SurveyData-class