writeVertex | R Documentation |
Writes vertex data to a file with an optional header
writeVertex( vertexData, filename, headers = TRUE, mean.stats = NULL, gf = NULL, col.names = FALSE )
vertexData |
vertex data to be written |
filename |
full path to file where data shall be written |
headers |
Whether or not to write header information (implies col.names=TRUE) |
mean.stats |
mean vertex data that may also be written |
gf |
glim matrix that can be written to the header |
col.names |
if column names should be written |
A file is generated with the vertex data and optional headers
## Not run: getRMINCTestData() gf = read.csv("/tmp/rminctestdata/CIVET_TEST.csv") gf = civet.getAllFilenames(gf,"ID","TEST","/tmp/rminctestdata/CIVET","TRUE","1.1.12") gf = civet.readAllCivetFiles("/tmp/rminctestdata/AAL.csv",gf) writeVertex(gf$nativeRMStlink20mm,"~/RMStlink20mm.txt",FALSE,NULL,NULL) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.