| fitted {meta4diag} | R Documentation |
Get the estimated values of accuracies for each study.
Description
Takes a meta4diag object produced by meta4diag() and returns the estimated study specified accuracies, such as sensitivity, specificity, odds ratios and likelihood ratios for each study.
Usage
## S3 method for class 'meta4diag'
fitted(object, accuracy.type = "sens",...)
Arguments
object |
A |
accuracy.type |
A string specifying the accuracy type. Options are "sens", "TPR", "spec", "TNR", "FPR", "FNR", "LRpos", "LRneg", "RD", "LLRpos", "LLRneg", "LDOR", and "DOR".
|
... |
Arguments to be passes to methods. |
Value
A data frame with the estimated mean, standard deviation and the corresponding quantiles, which are specified by user when the user runs the main function meta4diag(), of the accuracies of each sudy.
Author(s)
Jingyi Guo
Examples
## Not run:
if(requireNamespace("INLA", quietly = TRUE)){
require("INLA", quietly = TRUE)
data(Catheter)
res <- meta4diag(data = Catheter, nsample=2000)
fitted(res, accuracy.type="sens")
fitted(res, accuracy.type="DOR")
}
## End(Not run)