Learn R Programming

fBasics (version 240.10067)

fBasicsUtilities: General Rmetrics Utilities

Description

A collection and description of functions which are useful utilities and tools used by Rmetrics. The plot utility functions are: ll{ characterTable Table of Numerical Equivalents to Latin Characters, symbolTable Table of plot characters, plot symbols, colorTable Table of Color Codes and Plot Colors itself, greyPalette Creates a grey palette like rainbow does for colors.} The tailored plot functions are: ll{ histPlot Returns a tailored histogram plot, densityPlot Returns a tailored kernel density estimate plot, qqbayesPlot Returns a tailored quantile-quantile plot.}

Usage

characterTable(font = 1, cex = 0.7)
symbolTable(font = par('font'), cex = 0.7)
colorTable(cex = 0.7)
greyPalette(n = 64, start = 255-n, end = 255)

histPlot(x, col = "steelblue", border = "white", main = x@units, add.fit = TRUE, ...) densityPlot(x, col = "steelblue", main = x@units, add.fit = TRUE, ...) qqbayesPlot(x, labels = TRUE, ...)

Arguments

add.fit
[*Plot] - a logical, should a fit added to the Plot?
col, border, main
[*Plot] - plot parameters.
font, cex
[*table] - an integer value, the number of the font, by default font number 1, the standard font for the characterTable or the current plot character font for the plotcharacterTable. The ch
labels
a logical, should labels be added to the plot?
n, start, end
[greyPal] - cr n gives the number of greys to be constructed, start and end span the range of the color palette. By default 64 grey tones equidistant chosen from the color range (191,
x
an object of class "timeSeries".
...
optional arguments to be passed.

Value

  • characterTable displays a table with the characters of the requested font. The character on line "xy" and column "z" of the table has code "\xyz", e.g cat("\126") prints: V for font number 1. These codes can be used as any other characters. symbolTable displays a table with the plot characters numbered from 0 to 255. colorTable displays a table with the plot colors with the associated color number.

Examples

Run this code
## SOURCE("fBasics.1A-fBasicsUtilities")

Run the code above in your browser using DataLab