The `promote`

function promotes a vector argument to a single-column or
single-row matrix. Matrix arguments are returned unmodified.

1 |

`x` |
A vector or matrix. |

`byrow` |
Logical value: if |

A matrix version of the `x`

argument.

Jon Clayden

Please cite the following reference when using TractoR in your work:

J.D. Clayden, S. MuĂ±oz Maniega, A.J. Storkey, M.D. King, M.E. Bastin & C.A. Clark (2011). TractoR: Magnetic resonance imaging and tractography with R. Journal of Statistical Software 44(8):1-18. http://www.jstatsoft.org/v44/i08/.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.