coef.textmodel_wordmap | R Documentation |

`coef()`

extracts top `n`

features with largest coefficients for each class.

```
## S3 method for class 'textmodel_wordmap'
coef(object, n = 10, select = NULL, ...)
## S3 method for class 'textmodel_wordmap'
coefficients(object, n = 10, select = NULL, ...)
```

`object` |
a model fitted by |

`n` |
the number of coefficients to extract. |

`select` |
returns the coefficients for the selected class; specify by the
names of rows in |

`...` |
not used. |

Returns a list of named numeric vectors sorted in descending order.

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.