# \donttest{
if (exists("topic_model")) {
topic_info_df <- get_topic_info_df(model = topic_model,
drop_expanded_columns = TRUE)
print(topic_info_df)
} else {
message("No topic_model found. Please train or load a model first.")
}
# }
Run the code above in your browser using DataLab