I'm still fairly new to tibbles and had a question about it.
I was mutating a data frame to include new columns, and it suddenly turned into a tibble. Is there a reason why this happened?
I have the code below - the combined_dataframe was a regular data frame, but the resulting tf_idf ended up being a tibble:
tf_idf <- combined_dataframe %>%
add_count(word) %>%
group_by(source) %>%
mutate("IDF" = 1 + log(3 / n)) %>%
mutate("TF_IDF" = TF * IDF)