Compute a common shared environment matrix

Converts the factor labels to a vector of numeric vectors

1 | ```
fac2num(x)
``` |

`x` |
A factor |

Returns a vector of numeric values. Elements in the input factor that cannot be converted to numeric will produce NA.

Returns a numeric vector of the same length as x

Claus Ekstrom claus@rprimer.dk

1 2 3 4 5 6 |

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.