Вы можете попробовать это:
plot(df1$results$K, df1$results$heldout, type = "p", main = "Held-Out Likelihood",
xlab = "Number of Topics (K)", ylab = "Held-Out Likelihood", ask = TRUE)
lines(df1$results$K, df1$results$heldout, lty = 1, col = 1)
plot(df1$results$K, df1$results$residual, type = "p", main = "Residuals",
xlab = "Number of Topics (K)", ylab = "Residuals", ask = TRUE)
lines(df1$results$K, df1$results$residual, lty = 1, col = 1)
plot(df1$results$K, df1$results$semcoh, type = "p", main = "Semantic Coherence",
xlab = "Number of Topics (K)", ylab = "Semantic Coherence", ask = TRUE)
lines(df1$results$K, df1$results$semcoh, lty = 1, col = 1)
plot(df1$results$K, df1$results$lbound, type = "p", main = "Lower Bound",
xlab = "Number of Topics (K)", ylab = "Lower Bound", ask = TRUE)
lines(df1$results$K, df1$results$lbound, lty = 1, col = 1)