coef.textmodel_newsmap {newsmap}R Documentation

Extract coefficients for features

Description

Extract coefficients for features

Usage

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

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

Arguments

object

a Newsmap model fitted by textmodel_newsmap().

n

the number of coefficients to extract.

select

returns the coefficients for the selected class; specify by the names of rows in object$model.

...

not used.


[Package newsmap version 0.9.0 Index]