Learn R Programming

newsmap (version 0.9.2)

coef.textmodel_newsmap: Extract coefficients for features

Description

Extract coefficients for features

Usage

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

# S3 method for 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.