# Convert a matrix into a vector, with appropriate names

### Description

Convert a matrix into a vector, with element names constructed from the row and column names of the matrix.

### Usage

1 |

### Arguments

`x` |
matrix |

`byrow` |
Logical. If |

### Value

A vector with names constructed from the row and column names from the matrix. If the the row or column names are missing, ('r1', 'r2', ..,) or ('c1', 'c2', ..) will be used as appropriate.

### Author(s)

Gregory R. Warnes greg@warnes.net

### See Also

`as.vector`

### Examples

1 2 3 4 5 6 7 8 9 10 |