check_seeds {LDATS}R Documentation

Check that nseeds value or seeds vector is proper

Description

Check that the vector of numbers of seeds is conformable to integers greater than 0.

Usage

check_seeds(nseeds)

Arguments

nseeds

integer number of seeds (replicate starts) to use for each value of topics in the LDAs. Must be conformable to a positive integer value.

Value

an error message is thrown if the input is improper, otherwise NULL.

Examples

 check_seeds(1)
 check_seeds(2)


[Package LDATS version 0.3.0 Index]