| plot.vol_encoding | R Documentation |
Draws the quantisation error against the value it was measured at, and the depth profile of that error.
## S3 method for class 'vol_encoding'
plot(x, type = c("value", "depth"), bins = 40L, ...)
x |
A |
type |
One of |
bins |
Number of value bins. |
... |
Ignored. |
Plot the cost of the transfer
The first view is the diagnostic that decides whether the transfer was the right one. A square-root transfer on a positive skewed field gives an error that grows with the value, slowly, and stays flat across the range where most of the cells are; an error that spikes in the middle of the range says the transfer is wrong for this field.
A ggplot object, returned invisibly.
vol_encode() for the constructor, print.vol_encoding() and
summary.vol_encoding() for the other methods, vol_payload() for the
step that writes these codes into images.
data(med_mhw)
e <- vol_encode(vol_resample(med_mhw))
plot(e)
plot(e, type = "depth")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.