01_bridging_functions: Bridging Functions

Description Usage Arguments References Examples

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
ph.namesf (...)
ph.printf (...)
ph.plotf (...)
ph.linesf (...)

## S3 method for class 'phob'
names(x, ...)
## S3 method for class 'phob'
print(x, ...)
## S3 method for class 'phob'
plot(x, ...)
## S3 method for class '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

1
2
print (BIWEIGHT.CKERNEL)
ph.printf (BIWEIGHT.CKERNEL)

probhat documentation built on May 12, 2021, 5:08 p.m.