jfa-methods {jfa}R Documentation

Methods for jfa objects

Description

Methods defined for objects returned from the auditPrior, planning, selection, and evaluation functions.

Usage

## S3 method for class 'jfaPrior'
print(x, ...)

## S3 method for class 'jfaPosterior'
print(x, ...)

## S3 method for class 'jfaPlanning'
print(x, ...)

## S3 method for class 'jfaSelection'
print(x, ...)

## S3 method for class 'jfaEvaluation'
print(x, digits = getOption("digits"), ...)

## S3 method for class 'summary.jfaPrior'
print(x, digits = getOption("digits"), ...)

## S3 method for class 'summary.jfaPosterior'
print(x, digits = getOption("digits"), ...)

## S3 method for class 'summary.jfaPlanning'
print(x, digits = getOption("digits"), ...)

## S3 method for class 'summary.jfaSelection'
print(x, digits = getOption("digits"), ...)

## S3 method for class 'summary.jfaEvaluation'
print(x, digits = getOption("digits"), ...)

## S3 method for class 'jfaPrior'
summary(object, digits = getOption("digits"), ...)

## S3 method for class 'jfaPosterior'
summary(object, digits = getOption("digits"), ...)

## S3 method for class 'jfaPlanning'
summary(object, digits = getOption("digits"), ...)

## S3 method for class 'jfaSelection'
summary(object, digits = getOption("digits"), ...)

## S3 method for class 'jfaEvaluation'
summary(object, digits = getOption("digits"), ...)

## S3 method for class 'jfaPrior'
predict(object, n, lim = NULL, cumulative = FALSE, ...)

## S3 method for class 'jfaPosterior'
predict(object, n, lim = NULL, cumulative = FALSE, ...)

## S3 method for class 'jfaPrior'
plot(x, xlim = c(0, 1), ...)

## S3 method for class 'jfaPosterior'
plot(x, xlim = c(0, 1), ...)

## S3 method for class 'jfaPlanning'
plot(x, xlim = c(0, 1), ...)

## S3 method for class 'jfaSelection'
plot(x, ...)

## S3 method for class 'jfaEvaluation'
plot(x, xlim = c(0, 1), ...)

Arguments

...

further arguments, currently ignored.

digits

an integer specifying the number of digits to which output should be rounded. Used in summary.

object, x

an object of class jfaPrior, jfaPosterior, jfaPlanning, jfaSelection, or jfaEvaluation.

n

used in predict. Specifies the sample size for which predictions should be made.

lim

used in predict. Limits the number of errors for which predictions should be made.

cumulative

used in predict. Specifies whether cumulative probabilities should be shown.

xlim

used in plot. Specifies the x limits (x1, x2) of the plot.

Value

The summary methods return a data.frame which contains the input and output.

The print methods simply print and return nothing.


[Package jfa version 0.6.4 Index]