10_is_functions: Is Functions

Description Usage Arguments Details Value References See Also Examples

Description

Functions to test if an object is of a particular class.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
is.phob (object)
is.phpd (object)
is.phmodel (object)

is.dpd (object)
is.cpd (object)

is.pmf (object)
is.dcdf (object)
is.dqf (object)
is.pdf (object)
is.ccdf (object)
is.cqf (object)

is.pduv (object, include.conditional=TRUE)

is.dpduv (object, include.conditional=TRUE)
is.dpdc (object, include.multivariate=TRUE)
is.cpduv (object, include.conditional=TRUE)
is.cpdmv (object, include.conditional=TRUE)
is.cpdc (object, include.multivariate=TRUE)
is.cpdmvc (object)

is.pmfuv (object, include.conditional=TRUE)
is.pmfc (object, include.multivariate=TRUE)
is.dcdfuv (object, include.conditional=TRUE)
is.dcdfc (object, include.multivariate=TRUE)
is.dqfuv (object, include.conditional=TRUE)
is.dqfc (object)

is.pdfuv (object, include.conditional=TRUE)
is.pdfmv (object, include.conditional=TRUE)
is.pdfc (object, include.multivariate=TRUE)
is.pdfmvc (object)
is.ccdfuv (object, include.conditional=TRUE)
is.ccdfmv (object, include.conditional=TRUE)
is.ccdfc (object, include.multivariate=TRUE)
is.ccdfmvc (object)
is.cqfuv (object, include.conditional=TRUE)
is.cqfc (object)

is.cchqf (object)

is.dks (object)
is.cks (object, include.xmix=TRUE)
is.cat (object, include.gmix=TRUE)
is.el (object)

is.gmix (object)
is.xmix (object)

is.phspline (object)

Arguments

object

An object to test.

include.conditional

Logical, if true (the default), include conditional versions.

include.multivariate

Logical, if true (the default), include multivariate versions.

include.gmix

Logical, if true (the default), include gmix objects.

include.xmix

Logical, if true (the default), include xmix objects.

Details

Note that DPD and CPD stand for discrete and continuous probability distributions, respectively.

A leading "d" is discrete and a leading "c" is continuous.

Also, note that these relate to the objects, and not the number of variables. (i.e. Object of class pdfmv.cks, are designed for multivariate models, but can be constructed with a single variable).

Value

A single logical value.

References

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

See Also

Succinct Constructors
Discrete Kernel Smoothing, Continuous Kernel Smoothing
Categorical Distributions, Empirical-Like Distributions

Examples

1
2
3
4
5
prep.ph.data ()

dfh <- pmfuv.dks (traffic.bins, traffic.freq)
is.dpd (dfh)
is.cpd (dfh)

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