This function returns one item from a vector, in this case a random topic

topic_generator(topic_vector, num_topics = 1)

Arguments

topic_vector

a vector of suggests topics

num_topics

a number of topics to suggest, defaults to 1

Value

a vector of length one