Plot the results of a fitted scaling model, from (e.g.) a predicted textmodel_affinity model.
textplot_influence(x, n = 30, ...)
the object output from `influence()` run on the fitted or predicted scaling model object to be plotted
the number of features whose influence will be plotted
additional arguments passed to plot
# NOT RUN {
af <- textmodel_affinity(data_dfm_lbgexample, y = c("L", NA, NA, NA, "R", NA))
afpred <- predict(af)
textplot_influence(influence(afpred))
# }
Run the code above in your browser using DataLab