Description Usage Arguments Details
Converts marginal Unif(0,1) distributions to have modelled distributions. CURRENTLY ONLY HANDLES PIT SCORES AS VALUES.
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## S3 method for class 'cmc'
construct(object, newdata = NULL, from_col, to_col)
construct(object, newdata = NULL, from_col, to_col)
## S3 method for class 'cmc'
decompose(object, newdata = NULL, from_col, to_col)
decompose(object, newdata = NULL, from_col, to_col)
## S3 method for class 'cmc'
predict(object, ..., newdata = NULL, what = "pdist", at,
to_col)
|
object |
A cmc-fitted model. |
newdata |
Data frame to operate on |
from_col |
Name of column containing the null values. For example, probabilities (PIT scores) to evaluate the quantile functions at. |
to_col |
Name of the column to append the output to. Leave blank if you want a vector output. |
... |
Not used |
what |
What to predict. Could be "pdist", "qdist", or "rdist". |
at |
Vector of values to evaluate the |
If from_col values are numbers, these are interpreted as PIT scores by applying the quantile function corresponding to each predictive distribution. If values are distributions, these are converted in such a way that the predictive distributions are obtained if the values are all Unif(0,1) distributions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.