coef.textmodel_newsmap: Extract coefficients for features

View source: R/textmodel.R

coef.textmodel_newsmapR 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.


newsmap documentation built on May 29, 2024, 7:09 a.m.