| fs.tracts.lengths | R Documentation |
Returns one integer per tract, the number of points it consists
of. The coordinates of tract i are the rows
(cumsum(c(1, lengths))[i]):(cumsum(lengths)[i]) of
fs.tracts.coords().
fs.tracts.lengths(tracts)
tracts |
an |
integer vector with one entry per tract.
## Not run:
tck <- read.dti.tck("brain.tck");
lengths <- fs.tracts.lengths(tck$tracks);
mean(lengths);
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.