Learn R Programming

fuzzyRankTests (version 0.4)

fuzzyRankHelper: Helper Functions for Fuzzy Rank Stuff

Description

Plot or Print Fuzzy Rank Objects.

Usage

# S3 method for fuzzyrankci
plot(x, y, add = FALSE, verticals = FALSE,
    col.hor = par("col"), col.vert = par("col"), lty.vert = 2,
    pch.vert = 19, full.ylim = TRUE, extra.xlim = 0.2, main, …)
# S3 method for fuzzyranktest
plot(x, y, type = c("pdf", "cdf"), add = FALSE,
    col.hor = par("col"), col.vert = par("col"), lty.vert = 2,
    extra.xlim = 0.2, main, …)
# S3 method for fuzzyrankci
print(x, digits = 4, …)
# S3 method for fuzzyranktest
print(x, digits = 4, …)

Arguments

x

object of class "fuzzyrankci" or "fuzzyranktest".

y

not used (required because plot is generic.

type

if "pdf" plot the probability density function of the fuzzy P-value, if "cdf" plot the cumulative distribution function. You can specify just the initial letter.

add

if TRUE add to existing plot, otherwise make new plot.

verticals

if TRUE, put in vertical lines at jumps.

col.hor

color for horizontal lines of step functions.

col.vert

color for vertical lines of step functions (if requested).

lty.vert

line type for vertical lines of step functions (if requested).

pch.vert

point type (see argument pch of points) for values at jumps of step functions.

full.ylim

use ylim = c(0, 1) in the plot.

extra.xlim

make flat parts of the graph to either side of the interesting parts at least extra.xlim times the range of the interesting parts, where “interesting parts” means the part where the PDF of the fuzzy P-value or the membership function of the fuzzy confidence interval is nonzero.

main

main title for plot. Usually missing, in which case standard titles are used.

extra arguments passed internally to plot functions.

digits

supplied to format and print internally.

See Also

plot, print, fuzzy.sign.ci, fuzzy.sign.test.