ROISurfaceVector | R Documentation |
ROISurfaceVector
Create an instance of class ROISurfaceVector
ROISurfaceVector(geometry, indices, data)
geometry |
the parent geometry: an instance of class |
indices |
the parent surface indices |
data |
the data values, a |
an instance of class ROISurfaceVector
verts <- matrix(c(0,0,0,
1,0,0,
0,1,0), ncol=3, byrow=TRUE)
faces <- matrix(c(1,2,3), ncol=3, byrow=TRUE)
geom <- SurfaceGeometry(verts, faces, "lh")
vec <- matrix(c(0.5, 1.5), nrow=1)
ROISurfaceVector(geom, c(1L,2L), vec)
try(ROISurfaceVector(geom, c(1L,4L), vec))
try(ROISurfaceVector(geom, c(1,2.5), vec))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.