afdx

R 패키지 메타데이터와 수집 신호를 모아 봅니다.

Packages / CRAN / afdx

afdx

v1.1.2
Repository CRANLicense GPL (>= 3)Lifecycle activeNeeds compilation no
DOI
10.32614/CRAN.package.afdx

Core Signals

첫 화면에서 판단해야 할 수집 신호를 먼저 배치합니다.

0
표시할 핵심 신호가 없습니다.

Supported Backends

DESCRIPTION에서 감지한 backend 관련 package입니다.

0
backend package 신호가 없습니다.

Quick Facts

기본 메타데이터를 작은 카드와 토큰으로 압축합니다.

profile
Repository
CRAN
Version
1.1.2
License
GPL (>= 3)
Lifecycle
active
Needs compilation
no
Last observed
2026-05-30
CRAN
cran.r-project.org/package=afdx

수집 소스별 패키지 정보

1개 소스
CRAN
1.1.2
2026-05-30
License
GPL (>= 3)
Depends
R (>= 3.5.0)
Imports
maxLik, dplyr, magrittr, tidyr
Suggests
knitr, rmarkdown, ggplot2, DescTools, kableExtra, coda, rjags, ggmcmc, spelling, testthat (>= 3.0.0)
Needs compilation
no
Lifecycle
active
Last observed
2026-05-30 10:45:11

이 패키지가 의존하는 패키지

5개 표시전체 14개
PackageTypeSpec
dplyr
CRAN · 1.1.2 · 2026-05-30
Importsdplyr
magrittr
CRAN · 1.1.2 · 2026-05-30
Importsmagrittr
maxLik
CRAN · 1.1.2 · 2026-05-30
ImportsmaxLik
tidyr
CRAN · 1.1.2 · 2026-05-30
Importstidyr
coda
CRAN · 1.1.2 · 2026-05-30
Suggestscoda
1 / 3

이 패키지를 쓰는 패키지

0개 표시전체 0개
PackageTypeSpec
표시할 dependency edge가 없습니다.
1 / 1

패키지 페이지

All links
40
Repository
CRAN
Version
1.1.2
Collected
2026-05-20 20:23:26
Package page
https://cran.r-project.org/web/packages/afdx/index.html
DOI
10.32614/CRAN.package.afdx
CRAN checks
https://cran.r-project.org/web/checks/check_results_afdx.html
README
https://cran.r-project.org/web/packages/afdx/readme/README.html
NEWS
https://cran.r-project.org/web/packages/afdx/news/news.html
Reference HTML
https://cran.r-project.org/web/packages/afdx/refman/afdx.html
Reference PDF
https://cran.r-project.org/web/packages/afdx/afdx.pdf
Source package
https://cran.r-project.org/src/contrib/afdx_1.1.2.tar.gz
Archive
https://CRAN.R-project.org/src/contrib/Archive/afdx
Page fields
Author
John J. Aponte [aut, cre], Orvalho Augusto [aut]
CRAN Checks
afdx results
DOI
10.32614/CRAN.package.afdx
Language
en-US
License
GPL (≥ 3)
Maintainer
John J. Aponte <john.j.aponte at gmail.com>
Materials
README , NEWS
NeedsCompilation
no
Old Sources
afdx archive
Package Source
afdx_1.1.2.tar.gz
Published
2026-03-06
Reference Manual
afdx.html , afdx.pdf
URL
https://github.com/johnaponte/afdx
Version
1.1.2
Vignettes
Attributable fraction using a logitexponetial model ( source , R code ) Attributable fraction using a latent class model ( source , R code )
Windows Binaries
r-devel: afdx_1.1.2.zip , r-release: afdx_1.1.2.zip , r-oldrel: afdx_1.1.2.zip
MacOS Binaries
r-release (arm64): afdx_1.1.2.tgz , r-oldrel (arm64): afdx_1.1.2.tgz , r-release (x86_64): afdx_1.1.2.tgz , r-oldrel (x86_64): afdx_1.1.2.tgz
Version
1.1.2
Published
2026-03-06
DOI
10.32614/CRAN.package.afdx
Author
John J. Aponte [aut, cre], Orvalho Augusto [aut]
Maintainer
John J. Aponte <john.j.aponte at gmail.com>
License
GPL (≥ 3)
URL
https://github.com/johnaponte/afdx
NeedsCompilation
no
Language
en-US
Materials
README , NEWS
CRAN Checks
afdx results
Reference Manual
afdx.html , afdx.pdf
Vignettes
Attributable fraction using a logitexponetial model ( source , R code ) Attributable fraction using a latent class model ( source , R code )
Package Source
afdx_1.1.2.tar.gz
Windows Binaries
r-devel: afdx_1.1.2.zip , r-release: afdx_1.1.2.zip , r-oldrel: afdx_1.1.2.zip
MacOS Binaries
r-release (arm64): afdx_1.1.2.tgz , r-oldrel (arm64): afdx_1.1.2.tgz , r-release (x86_64): afdx_1.1.2.tgz , r-oldrel (x86_64): afdx_1.1.2.tgz
Old Sources
afdx archive
Page sections 3
Documentation
Heading
Documentation
Links
[{"label":"afdx.html","section":"","type":"","url":"https://cran.r-project.org/web/packages/afdx/refman/afdx.html"},{"label":"afdx.pdf","section":"","type":"","url":"https://cran.r-project.org/web/packages/afdx/afdx.pdf"},{"label":"Attributable fraction using a logitexponetial model","section":"","type":"","url":"https://cran.r-project.org/web/packages/afdx/vignettes/af_logit_exponential.html"},{"label":"source","section":"","type":"","url":"https://cran.r-project.org/web/packages/afdx/vignettes/af_logit_exponential.Rmd"},{"label":"R code","section":"","type":"","url":"https://cran.r-project.org/web/packages/afdx/vignettes/af_logit_exponential.R"},{"label":"Attributable fraction using a latent class model","section":"","type":"","url":"https://cran.r-project.org/web/packages/afdx/vignettes/latentclass.html"},{"label":"source","section":"","type":"","url":"https://cran.r-project.org/web/packages/afdx/vignettes/latentclass.Rmd"},{"label":"R code","section":"","type":"","url":"https://cran.r-project.org/web/packages/afdx/vignettes/latentclass.R"}]
Text
Reference manual: afdx.html , afdx.pdf Vignettes: Attributable fraction using a logitexponetial model ( source , R code ) Attributable fraction using a latent class model ( source , R code )
Downloads
Heading
Downloads
Links
[{"label":"afdx_1.1.2.tar.gz","section":"","type":"","url":"https://cran.r-project.org/src/contrib/afdx_1.1.2.tar.gz"},{"label":"afdx_1.1.2.zip","section":"","type":"","url":"https://cran.r-project.org/bin/windows/contrib/4.7/afdx_1.1.2.zip"},{"label":"afdx_1.1.2.zip","section":"","type":"","url":"https://cran.r-project.org/bin/windows/contrib/4.6/afdx_1.1.2.zip"},{"label":"afdx_1.1.2.zip","section":"","type":"","url":"https://cran.r-project.org/bin/windows/contrib/4.5/afdx_1.1.2.zip"},{"label":"afdx_1.1.2.tgz","section":"","type":"","url":"https://cran.r-project.org/bin/macosx/sonoma-arm64/contrib/4.6/afdx_1.1.2.tgz"},{"label":"afdx_1.1.2.tgz","section":"","type":"","url":"https://cran.r-project.org/bin/macosx/big-sur-arm64/contrib/4.5/afdx_1.1.2.tgz"},{"label":"afdx_1.1.2.tgz","section":"","type":"","url":"https://cran.r-project.org/bin/macosx/big-sur-x86_64/contrib/4.6/afdx_1.1.2.tgz"},{"label":"afdx_1.1.2.tgz","section":"","type":"","url":"https://cran.r-project.org/bin/macosx/big-sur-x86_64/contrib/4.5/afdx_1.1.2.tgz"},{"label":"afdx archive","section":"","type":"","url":"https://CRAN.R-project.org/src/contrib/Archive/afdx"}]
Text
Package source: afdx_1.1.2.tar.gz Windows binaries: r-devel: afdx_1.1.2.zip , r-release: afdx_1.1.2.zip , r-oldrel: afdx_1.1.2.zip macOS binaries: r-release (arm64): afdx_1.1.2.tgz , r-oldrel (arm64): afdx_1.1.2.tgz , r-release (x86_64): afdx_1.1.2.tgz , r-oldrel (x86_64): afdx_1.1.2.tgz Old sources: afdx archive
Linking
Heading
Linking
Links
[{"label":"https://CRAN.R-project.org/package=afdx","section":"","type":"","url":"https://CRAN.R-project.org/package=afdx"}]
Text
Please use the canonical form https://CRAN.R-project.org/package=afdx to link to this page.
Materials 2
Documentation 8
Vignettes 6
Downloads 9
All page links 40

패키지 문서 원문

4 artifacts
field
NEWS
CRAN · 1.1.2 · Materials · text/html · 2,093 · 2026-05-07
Title
NEWS
Label
NEWS
Text content
Text content
NEWS code{white-space: pre-wrap;} span.smallcaps{font-variant: small-caps;} span.underline{text-decoration: underline;} div.column{display: inline-block; vertical-align: top; width: 50%;} div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;} ul.task-list{list-style: none;} afdx 1.1.2 Documentation Update the NEWS.md to the correct formatting Add a logo Add a pkgdown site Fix outdated URLs DOI added to the references in the vignettes afdx 1.1.1 Documentation Improved documentation to include examples and tests. afdx 1.1.0 CRAN submission First attempt to submit the package to CRAN. afdx 0.4 Improvements First version of the vignette for logitexponential ( @johnaponte ). afdx 0.3 New features Inclusion of the Bayesian model ( @johnaponte ). afdx 0.2 New features Logitexponential model and associated functions ( @johnaponte ). afdx 0.1 Initial development Creation and documentation of synthetic data ( @johnaponte ).
field
README
CRAN · 1.1.2 · Materials · text/html · 1,497 · 2026-05-07
Title
README
Label
README
Text content
Text content
README code{white-space: pre-wrap;} span.smallcaps{font-variant: small-caps;} span.underline{text-decoration: underline;} div.column{display: inline-block; vertical-align: top; width: 50%;} div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;} ul.task-list{list-style: none;} afdx Diagnosis performance using attributable fraction This R-package help on the estimation of diagnosis performance (Sensitivity, Specificity, Positive predictive value, Negative predicted value) of a diagnostic test where the golden standard can’t be measured but can be estimated using the attributable fraction Two methods are presented with examples for Malaria diagnosis, using a maximum likelihood estimated logistic exponential model and using a bayesian latent class model. To install the package from github use: devtools::install_github("johnaponte/afdx", build_manual = T, build_vignettes = T)
reference_manual_html
Reference manual HTML
CRAN · 1.1.2 · Documentation · text/html · 14,111 · 2026-05-07
Title
Help for package afdx
Label
Reference manual HTML
Text content
Text content
Help for package afdx const macros = { "\\R": "\\textsf{R}", "\\mbox": "\\text", "\\code": "\\texttt"}; function processMathHTML() { var l = document.getElementsByClassName('reqn'); for (let e of l) { katex.render(e.textContent, e, { throwOnError: false, macros }); } return; } Package {afdx} Contents afdx-package get_latent_model logitexp make_cutoffs make_n_cutoffs malaria_df1 malaria_df2 senspec Title: Diagnosis Performance Using Attributable Fraction Version: 1.1.2 Date: 2026-03-06 URL: https://github.com/johnaponte/afdx Description: Estimate diagnosis performance (Sensitivity, Specificity, Positive predictive value, Negative predicted value) of a diagnostic test where can not measure the golden standard but can estimate it using the attributable fraction. License: GPL (≥ 3) Encoding: UTF-8 LazyData: true RoxygenNote: 7.3.3 Depends: R (≥ 3.5.0) Imports: maxLik, dplyr, magrittr, tidyr Suggests: knitr, rmarkdown, ggplot2, DescTools, kableExtra, coda, rjags, ggmcmc, spelling, testthat (≥ 3.0.0) VignetteBuilder: knitr Language: en-US Config/testthat/edition: 3 NeedsCompilation: no Packaged: 2026-03-06 13:09:46 UTC; master Author: John J. Aponte [aut, cre], Orvalho Augusto [aut] Maintainer: John J. Aponte <john.j.aponte@gmail.com> Repository: CRAN Date/Publication: 2026-03-06 13:30:15 UTC afdx: Diagnosis performance indicators from attributable fraction estimates. Description The afdx package provides functions to estimate the attributable fraction using logit exponential model or bayesian latent class model. The logit exponential model The logitexp function estimated the logit exponential function fitting a maximum likelihood model. The senspec() function estimate the sensitivity, specificity, positive predicted value and negative predicted values for the specified cut-off points. The bayesian latent class model The get_latent_model() provides an rjags model template to estimate the attributable fraction and the sensitivity, specificity, positive predicted value and negative predicted value of the latent class model. @docType package @name afdx Author(s) Maintainer : John J. Aponte john.j.aponte@gmail.com ( ORCID ) Authors: Orvalho Augusto caveman@gmail.com ( ORCID ) See Also Useful links: https://github.com/johnaponte/afdx Template for the bayesian latent class model Description This function returns a template that can be use as model in an rjags model it requires two vectors with the number of subjects in the symptoms, like fever in the case of malaria (n) and the number of non-symptomatic (m) in each of the categories of results of the diagnostic test. The first category is reserved for the negatives by the diagnostic test (in the malaria case those with asexual density 0) and the rest categories each one with higher values than the previous category. Usage get_latent_model() Details See: Smith T, Vounatsou P. Logistic regression and latent class models for estimating positivities in diagnostic assays with poor resolution. Communications in Statistics - Theory and Methods. 1997 Jan;26(7):1677–700. Vounatsou P, Smith T, Smith AFM. Bayesian analysis of two-component mixture distributions applied to estimating malaria attributable fractions. Journal of the Royal Statistical Society: Series C (Applied Statistics). 1998;47(4):575–87. Müller I, Genton B, Rare L, Kiniboro B, Kastens W, Zimmerman P, et al. Three different Plasmodium species show similar patterns of clinical tolerance of malaria infection. Malar J. 2009;8(1):158. Plucinski MM, Rogier E, Dimbu PR, Fortes F, Halsey ES, Aidoo M, et al. Performance of Antigen Concentration Thresholds for Attributing Fever to Malaria among Outpatients in Angola. J Clin Microbiol. 2019;57(3). Value a string value Examples { get_latent_model() } Exponential logit model for two variables Description Fit a logit model of v.density on v.fever v.density with a exponential coefficient for the v.density Usage logitexp(v.fever, v.density) Arguments v.fever numeric vector of 0/1 indicating fever or equivalent v.density numeric vector of values >= 0 indicating the density Details logit(v.fever) ~ beta * (v. density ^ tau) This corresponds to the model 3 describe by Smith, T., Schellenberg, J.A., Hayes, R., 1994. Attributable fraction estimates and case definitions for malaria in endemic areas. Stat Med 13, 2345–2358. Value S3 object of class afmodel with 4 components: data, model, coefficients and the estimated attributable fraction. See Also senspec Examples { # Get the sample data head(malaria_df1) fit <- logitexp(malaria_df1$fever, malaria_df1$density) fit senspec(fit, c(1,100,500,1000,2000,4000,8000,16000, 32000,54000,100000)) } Cut-off points for densities and fever Description Generate the cutoffs at every change of density in the fever, but first category is for density 0, and last category if possible have no subjects with no fever. Usage make_cutoffs(v.fever, v.density, add1 = TRUE) Arguments v.fever numeric vector of 0/1 indicating fever or equivalent v.density numeric vector of values >= 0 indicating the density add1 a logical value to indicate the category started with 1 is included Value a vector with the cutoff points Examples { make_cutoffs(malaria_df1$fever, malaria_df1$density, add1 = TRUE) } Make a defined number of categories having similar number of positives in each category Description Generate the categories in a way that each category have at least the mintot number of observation. It generate all possible categories were there is change and then collapse to have minimum number of observations in each category Usage make_n_cutoffs(v.fever, v.density, mintot, add1 = TRUE) Arguments v.fever numeric vector of 0/1 indicating fever or equivalent v.density numeric vector of values >= 0 indicating the density mintot minimum number of observations per category add1 a logical value to indicate the category started with 1 is included Value a vector with the cutoff points Examples { make_n_cutoffs(malaria_df1$fever, malaria_df1$density, mintot=50) } Synthetic data simulating a malaria crossectional Description Simulated data with the main outcomes of a malaria crossectional, fever and parasite density Usage malaria_df1 Format a dataset with two variables fever 1 if fever or history of fever, 0 otherwise density asexual Plasmodium parasite density, in parasites per ul Synthetic data simulating a malaria crossectional Description Simulated data with the main outcomes of a malaria crossectional, fever and parasite density Usage malaria_df2 Format a dataset with two variables fever 1 if fever or history of fever, 0 otherwise density asexual Plasmodium parasite density, in parasites per ul S3 methods to estimate diagnosis performance of an afmodel Description Estimate sensitivity, specificity, positive predicted value and negative predicted value negative predictive value from an afmodel. The estimated "true" negative and "true" positive are estimated using the estimated overall attributable fraction and the predictive positive value associated with each cut-off point as described by Smith, T., Schellenberg, J.A., Hayes, R., 1994. Attributable fraction estimates and case definitions for malaria in endemic areas. Stat Med 13, 2345–2358. Usage senspec(object, ...) ## Default S3 method: senspec(object, ...) ## S3 method for class 'afmodel' senspec(object, cutoff, ...) Arguments object with the data to calculate the sensitivity and specificity ... other parameters for the implementing functions cutoff vector of cut-off points to make the estimations Value a matrix with the columns sensitivity and specificity, ppv (positive predicted value) and npv (negative predicted value) No return value. Raise an error. a matrix with the columns sensitivity and specificity, ppv (positive predicted value) and npv (negative predicted value) See Also logitexp Examples { # Get the sample data head(malaria_df1) fit <- logitexp(malaria_df1$fever, malaria_df1$density) fit senspec(fit, c(1,100,500,1000,2000,4000,8000,16000
section
afdx.pdf
CRAN · 1.1.2 · Documentation · application/pdf · 103,079 · 2026-05-07
Title
afdx.pdf
Label
afdx.pdf

Reference for afdx (1.1.2)

8개 topic
afdx-package
afdx: Diagnosis performance indicators from attributable fraction estimates.
CRAN · 1.1.2 · package · afdx/man/afdx-package.Rd · 2026-05-07

The afdx package provides functions to estimate the attributable fraction using logit exponential model or bayesian latent class model.

Aliases
afdxafdx-package
See also
Useful links: https://github.com/johnaponte/afdx
Custom sections
The logit exponential model
The logitexp function estimated the logit exponential function fitting a maximum likelihood model. The senspec() function estimate the sensitivity, specificity, positive predicted value and negative predicted values for the specified cut-off points.
The bayesian latent class model
The get_latent_model() provides an rjags model template to estimate the attributable fraction and the sensitivity, specificity, positive predicted value and negative predicted value of the latent class model. @docType package @name afdx
Author
Maintainer: John J. Aponte john.j.aponte@gmail.com (https://orcid.org/0000-0002-3014-3673ORCID) Authors: Orvalho Augusto caveman@gmail.com (https://orcid.org/0000-0002-0005-3968ORCID)
get_latent_model
Template for the bayesian latent class model
CRAN · 1.1.2 · afdx/man/get_latent_model.Rd · 2026-05-07

This function returns a template that can be use as model in an rjags model it requires two vectors with the number of subjects in the symptoms, like fever in the case of malaria (n) and the number of non-symptomatic (m) in each of the categories of results of the diagnostic test. The first category is reserved for the negatives by the diagnostic test (in the malaria case those with asexual density 0) and the rest categories each one with higher values than the previous category.

Aliases
get_latent_model
Usage
get_latent_model()
Details
See: Smith T, Vounatsou P. Logistic regression and latent class models for estimating positivities in diagnostic assays with poor resolution. Communications in Statistics - Theory and Methods. 1997 Jan;26(7):1677–700. Vounatsou P, Smith T, Smith AFM. Bayesian analysis of two-component mixture distributions applied to estimating malaria attributable fractions. Journal of the Royal Statistical Society: Series C (Applied Statistics). 1998;47(4):575–87. Müller I, Genton B, Rare L, Kiniboro B, Kastens W, Zimmerman P, et al. Three different Plasmodium species show similar patterns of clinical tolerance of malaria infection. Malar J. 2009;8(1):158. Plucinski MM, Rogier E, Dimbu PR, Fortes F, Halsey ES, Aidoo M, et al. Performance of Antigen Concentration Thresholds for Attributing Fever to Malaria among Outpatients in Angola. J Clin Microbiol. 2019;57(3).
Value
a string value
Examples
get_latent_model()
logitexp
Exponential logit model for two variables
CRAN · 1.1.2 · afdx/man/logitexp.Rd · 2026-05-07

Fit a logit model of v.density on v.fever v.density with a exponential coefficient for the v.density

Aliases
logitexp
Usage
logitexp(v.fever, v.density)
Arguments
v.fever
numeric vector of 0/1 indicating fever or equivalent
v.density
numeric vector of values >= 0 indicating the density
Details
logit(v.fever) ~ beta * (v. density ^ tau) This corresponds to the model 3 describe by Smith, T., Schellenberg, J.A., Hayes, R., 1994. Attributable fraction estimates and case definitions for malaria in endemic areas. Stat Med 13, 2345–2358.
Value
S3 object of class afmodel with 4 components: data, model, coefficients and the estimated attributable fraction.
Examples
# Get the sample data head(malaria_df1) fit <- logitexp(malaria_df1$fever, malaria_df1$density) fit senspec(fit, c(1,100,500,1000,2000,4000,8000,16000, 32000,54000,100000))
See also
senspec
make_cutoffs
Cut-off points for densities and fever
CRAN · 1.1.2 · afdx/man/make_cutoffs.Rd · 2026-05-07

Generate the cutoffs at every change of density in the fever, but first category is for density 0, and last category if possible have no subjects with no fever.

Aliases
make_cutoffs
Usage
make_cutoffs(v.fever, v.density, add1 = TRUE)
Arguments
v.fever
numeric vector of 0/1 indicating fever or equivalent
v.density
numeric vector of values >= 0 indicating the density
add1
a logical value to indicate the category started with 1 is included
Value
a vector with the cutoff points
Examples
make_cutoffs(malaria_df1$fever, malaria_df1$density, add1 = TRUE)
make_n_cutoffs
Make a defined number of categories having similar number of positives in each category
CRAN · 1.1.2 · afdx/man/make_n_cutoffs.Rd · 2026-05-07

Generate the categories in a way that each category have at least the mintot number of observation. It generate all possible categories were there is change and then collapse to have minimum number of observations in each category

Aliases
make_n_cutoffs
Usage
make_n_cutoffs(v.fever, v.density, mintot, add1 = TRUE)
Arguments
v.fever
numeric vector of 0/1 indicating fever or equivalent
v.density
numeric vector of values >= 0 indicating the density
mintot
minimum number of observations per category
add1
a logical value to indicate the category started with 1 is included
Value
a vector with the cutoff points
Examples
make_n_cutoffs(malaria_df1$fever, malaria_df1$density, mintot=50)
malaria_df1
Synthetic data simulating a malaria crossectional
CRAN · 1.1.2 · data · afdx/man/malaria_df1.Rd · 2026-05-07

Simulated data with the main outcomes of a malaria crossectional, fever and parasite density

Aliases
malaria_df1
Keywords
datasets
Usage
malaria_df1
Format
a dataset with two variables fever1 if fever or history of fever, 0 otherwise densityasexual Plasmodium parasite density, in parasites per ul
malaria_df2
Synthetic data simulating a malaria crossectional
CRAN · 1.1.2 · data · afdx/man/malaria_df2.Rd · 2026-05-07

Simulated data with the main outcomes of a malaria crossectional, fever and parasite density

Aliases
malaria_df2
Keywords
datasets
Usage
malaria_df2
Format
a dataset with two variables fever1 if fever or history of fever, 0 otherwise densityasexual Plasmodium parasite density, in parasites per ul
senspec
S3 methods to estimate diagnosis performance of an afmodel
CRAN · 1.1.2 · afdx/man/senspec.Rd · 2026-05-07

Estimate sensitivity, specificity, positive predicted value and negative predicted value negative predictive value from an afmodel. The estimated "true" negative and "true" positive are estimated using the estimated overall attributable fraction and the predictive positive value associated with each cut-off point as described by Smith, T., Schellenberg, J.A., Hayes, R., 1994. Attributable fraction estimates and case definitions for malaria in endemic areas. Stat Med 13, 2345–2358.

Aliases
senspecsenspec.defaultsenspec.afmodel
Usage
senspec(object, ...) senspecdefault(object, ...) senspecafmodel(object, cutoff, ...)
Arguments
object
with the data to calculate the sensitivity and specificity
...
other parameters for the implementing functions
cutoff
vector of cut-off points to make the estimations
Value
a matrix with the columns sensitivity and specificity, ppv (positive predicted value) and npv (negative predicted value) No return value. Raise an error. a matrix with the columns sensitivity and specificity, ppv (positive predicted value) and npv (negative predicted value)
Examples
# Get the sample data head(malaria_df1) fit <- logitexp(malaria_df1$fever, malaria_df1$density) fit senspec(fit, c(1,100,500,1000,2000,4000,8000,16000, 32000,54000,100000))
See also
logitexp

버전 이력

RepositoryVersionPublishedFirst seenLast seenDocs
CRAN1.1.22026-05-292026-05-30

보안

표시할 OSV 데이터가 없습니다.

문헌 신호

표시할 OpenAlex 데이터가 없습니다.