Learn R Programming

ldaPrototype (version 0.3.1)

getSCLOP: Getter for PrototypeLDA

Description

Returns the corresponding element of a PrototypeLDA object.

Usage

getSCLOP(x)

# S3 method for PrototypeLDA getSimilarity(x)

# S3 method for PrototypeLDA getRelevantWords(x)

# S3 method for PrototypeLDA getConsideredWords(x)

getMergedTopics(x)

getPrototypeID(x)

# S3 method for PrototypeLDA getLDA(x, job, reduce = TRUE, all = FALSE)

# S3 method for PrototypeLDA getID(x)

# S3 method for PrototypeLDA getParam(x)

# S3 method for PrototypeLDA getJob(x)

Arguments

x

[named list] PrototypeLDA object.

job

[data.frame or integer] A data.frame or data.table with a column named "job.id" or a vector of integerish job ids. Default is the (integerish) ID of the Prototype LDA.

reduce

[logical(1)] If the list of LDAs contains only one element, should the list be reduced and the single (unnamed) element be returned? Default is TRUE. Not considered, if all is TRUE.

all

[logical(1)] Shortcut for job: Should all stored LDAs be returned?

See Also

Other getter functions: getJob(), getSimilarity(), getTopics()

Other PrototypeLDA functions: LDAPrototype(), getPrototype()