View source: R/antsrTransform_class.R
applyAntsrTransformToVector | R Documentation |
Apply transform to spatial vector
applyAntsrTransformToVector(transform, vectors)
transform |
antsrTransform |
vectors |
a matrix where each row is a vector to transform |
array of coordinates
transform <- new("antsrTransform",
precision = "float",
type = "AffineTransform", dimension = 2
)
vec2 <- applyAntsrTransformToVector(transform, c(1, 2, 3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.