Learn R Programming

jfa (version 0.7.3)

jfa-methods: Methods for jfa objects

Description

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

Usage

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

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

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

# S3 method for jfaPrior predict(object, n, cumulative = FALSE, ...)

# S3 method for jfaPredict print(x, ...)

# S3 method for jfaPrior plot(x, ...)

# S3 method for jfaPredict plot(x, ...)

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

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

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

# S3 method for jfaPosterior predict(object, n, cumulative = FALSE, ...)

# S3 method for jfaPosterior plot(x, ...)

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

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

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

# S3 method for jfaPlanning plot(x, ...)

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

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

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

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

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

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

# S3 method for jfaEvaluation plot(x, type = c("estimates", "posterior", "sequential"), ...)

# S3 method for jfaDistr print(x, digits = getOption("digits"), ...)

# S3 method for summary.jfaDistr print(x, digits = getOption("digits"), ...)

# S3 method for jfaDistr summary(object, digits = getOption("digits"), ...)

# S3 method for jfaDistr plot(x, type = c("estimates", "robustness", "sequential"), ...)

# S3 method for jfaRv print(x, digits = getOption("digits"), ...)

# S3 method for jfaRv plot(x, ...)

# S3 method for jfaFairness print(x, digits = getOption("digits"), ...)

# S3 method for summary.jfaFairness print(x, digits = getOption("digits"), ...)

# S3 method for jfaFairness summary(object, digits = getOption("digits"), ...)

# S3 method for jfaFairness plot(x, type = c("estimates", "posterior", "robustness", "sequential"), ...)

# S3 method for jfaFairnessSelection print(x, ...)

# S3 method for jfaFairnessSelection plot(x, ...)

Value

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

The print methods simply print and return nothing.

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, jfaEvaluation, jfaDistr, jfaRv, or jfaFairness.

n

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

cumulative

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

type

used in plot. Specifies the type of plot to produce.