Description Usage Arguments Details Value Author(s) Examples

Converts the factor labels to numeric values and returns the factor as a numeric vector

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 [email protected]

1 2 |

MESS documentation built on Jan. 4, 2018, 4:07 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.