Learn R Programming

probhat (version 0.4.1)

01_bridging_functions: Bridging Functions

Description

Generic functions for calling S3 generics with function objects, or objects that contain function objects. In this package, such objects are often labelled, sf, for suitable function. (They're also often used to represent probability distributions).

In general, it's easier to call the standard generic. i.e. It's easier to call print() rather than ph.printf().

However, if using the standard generic, it's best not to name the first argument.

Usage

ph.namesf (…)
ph.printf (…)
ph.plotf (…)
ph.linesf (…)

# S3 method for phob names(x, …) # S3 method for phob print(x, …) # S3 method for phob plot(x, …) # S3 method for phob lines(x, …)

Arguments

x

The first argument.

Further arguments, for the S3 method.

References

Refer to the vignette for an overview, references and better examples.

Examples

Run this code
# NOT RUN {
print (BIWEIGHT.CKERNEL)
ph.printf (BIWEIGHT.CKERNEL)
# }

Run the code above in your browser using DataLab