Description Usage Arguments Details Value References See Also Examples
Sets of distributions.
Note that distributions sets can also be produced by conditional CKS models.
NOTE THAT THESE OBJECTS ARE SUBJECT TO CHANGE, AND HAVE HAD LIMITED TESTING.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #categorical sets
#(grouped by a categorical variable)
ph4.pdfuv.gset.cks (g, x, ...)
ph4.cdfuv.gset.cks (g, x, ...)
ph4.qfuv.gset.cks (g, x, ...)
ph4.cdfuv.gset.el (g, x, ...)
ph4.qfuv.gset.el (g, x, ...)
#marginal sets
ph4.pdfuv.mset.cks (x, ..., bw, smoothness=1)
ph4.cdfuv.mset.cks (x, ..., bw, smoothness=1)
ph4.qfuv.mset.cks (x, ..., bw, smoothness=1)
ph4.cdfuv.mset.el (x, ...)
ph4.qfuv.mset.el (x, ...)
ph4.pdfmv.gset.cks (g, x, ...)
|
g |
A character vector, with the same length as x. |
x |
Vector (for categorical sets) or matrix (for marginal sets). |
bw, smoothness |
Bandwidth and smoothness parameters, same as pdfuv.cks, except that they can be an m-length vector, where m is the number of variables, equal to number of columns in x. |
... |
Other arguments for the corresponding constructor. |
PLEASE SET NOTES IN DESCRIPTION FIELD.
These functions construct distribution set objects, which are lists of probability distributions.
A ph4.gset or ph4.mset object.
Refer to the vignette for an overview, references and better examples.
Succinct Constructors
Discrete Kernel Smoothing, Continuous Kernel Smoothing
Categorical Distributions, Empirical-Like Distributions
ph.plotf.ph4.gset, ph.plotf.ph4.mset
1 2 3 4 5 6 7 8 9 10 11 12 13 | prep.ph.data ()
gs <- ph4.pdfuv.gset.cks (species, sepal.length)
ms <- ph4.qfuv.mset.el (trees2)
names (gs)
plot (gs)
plot (ms, nr=2, nc=2)
#distance matrix
pdist (gs)
plot (gs [[1]])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.