hc_offset-HilbertCurve-method | R Documentation |
Adjust positions
## S4 method for signature 'HilbertCurve'
hc_offset(object, x)
object |
A |
x |
positions. |
Since internally positions are transformed to positive integers, if input positions are specified as negative values when initializing the Hilbert curve, a shift will be recorded internally and positions are transformed to positive value automatically.
A positive numeric value.
Zuguang Gu <z.gu@dkfz.de>
hc = HilbertCurve(-100, 100)
hc_offset(hc, c(-100, -50, 0, 50, 100))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.