ROISurface | R Documentation |
ROISurface
Create an instance of class ROISurface
ROISurface(geometry, indices, data)
geometry |
the parent geometry: an instance of class |
indices |
the parent surface indices |
data |
the data values, numeric |
an instance of class ROISurface
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")
ROISurface(geom, 1L, 1)
try(ROISurface(geom, 4L, 1))
try(ROISurface(geom, 1.5, 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.