Description Usage Arguments Details Value
Coerce a Murphy diagram to a Data Frame
1 2 | ## S3 method for class 'murphydiag'
as.data.frame(x, ...)
|
x |
|
... |
additional arguments to be passed to or from methods. |
Coercion of a 'murphydiag'
object to a 'data.frame'
retains only the relevant information for plotting: the model/forecast
name, the knots (break points) of the piecewise linear functions,
and the values taken in the left and right limits in the knots.
Additional information such as the observations, the predictions,
and the functional type of the predictions is lost. Hence, reversion
to 'murphydiag'
is impossible. When coercing a
'data.frame'
to a 'murphydiag'
, it is assumed that the
'data.frame'
comprises predictions (from multiple methods).
Returns a 'data.frame'
with four columns:
name
, knot
, limit
, value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.