Learn R Programming

vectools (version 0.3.0)

04_new_generic_functions: New Generic Functions

Description

New generic functions.

Usage

plotv (…)
# S3 method for VecLike
plot(x, …)

rep2 (…)

vt3.proj (…)

objtag (…)

ghead (…) headt (…)

Arguments

x, …

Arguments for the method.

Details

In general, it's not necessary to call the plotv function. Calls to plot should call plotv, which in turn, should call the correct method.

The rep2 function is similar to rep_len. (It recycles arguments to a particular length).

The objtag function is used inside formatted object arrays.

The ghead and headt functions are for grouped head and combined head and tail.

See Also

rep.MatrixArray, rep2.MatrixArray

objtag methods

ghead.data.frame

Combined Head and Tail Functions

Examples

Run this code
# NOT RUN {
plot (TCUBE)
plotv (TCUBE)

ghead (iris)
# }

Run the code above in your browser using DataLab