preText: Diagnostics to Assess the Effects of Text Preprocessing Decisions

Share:

Functions to assess the effects of different text preprocessing decisions on the inferences drawn from the resulting document-term matrices they generate.

Author
Matthew J. Denny <mdenny@psu.edu>, Arthur Spirling <as9934@nyu.edu>,
Date of publication
2016-10-08 19:02:21
Maintainer
Matthew J. Denny <mdenny@psu.edu>
License
GPL-3
Version
0.4.4

View on CRAN

Man pages

calculate_prediction_errors
Calculate mean prediction error for preprocessing decisions.
dfm_scaling_test
Comparison of dfms using N-dimensional scaling, with a test...
document_position_plots
Document Position Plots
factorial_preprocessing
A function to perform factorial preprocessing of a corpus of...
mantel_comparison
Ensemble Mantel Tests
mantel_comparison_to_base
Ensemble Mantel Tests
optimal_k_comparison
Optimal Topic Model k Comparison
preprocessing_choice_regression
Preprocessing Choice Regressions
preText
preText: Diagnostics to Assess The Effects of Text...
preText_score_plot
preText specification plot
preText_test
preText Test
regression_coefficient_plot
Regression Coefficient Plot
remove_infrequent_terms
Remove infrequently occurring terms from quanteda dfm.
scaling_comparison
Scaling Comparison.
topic_key_term_plot
Plot Prevalence of Topic Key Terms
topic_novelty_score
Topic Top-Terms Novelty Score
UK_Manifestos
Full text of 69 UK party manifestos from 1918-2001.
wordfish_comparison
Wordfish Comparison.
wordfish_rank_plot
Plot of Wordfish rankings of documents

Files in this package

preText
preText/inst
preText/inst/doc
preText/inst/doc/getting_started_with_preText.Rmd
preText/inst/doc/getting_started_with_preText.html
preText/inst/doc/getting_started_with_preText.R
preText/tests
preText/tests/testthat.R
preText/tests/testthat
preText/tests/testthat/test_factorial_preprocessing.R
preText/NAMESPACE
preText/data
preText/data/UK_Manifestos.rda
preText/R
preText/R/scaling_comparison.R
preText/R/parallel_preprocess.R
preText/R/parallel_rank_test.R
preText/R/preText_test.R
preText/R/preText.R
preText/R/mantel_comparison.R
preText/R/document_position_plots.R
preText/R/regression_coefficient_plot.R
preText/R/wordfish_rank_plot.R
preText/R/find_optimal_number_of_topics.R
preText/R/get_perplexities.R
preText/R/topic_novelty_score.R
preText/R/remove_infrequent_terms.R
preText/R/wordfish_comparison.R
preText/R/topic_key_term_plot.R
preText/R/Package_Documentation.R
preText/R/temporal_filter.R
preText/R/preText_score_plot.R
preText/R/dfm_scaling_test.R
preText/R/multiplot_ggplot2.R
preText/R/preprocessing_choice_regression.R
preText/R/factorial_preprocessing.R
preText/R/Data_Documentation.R
preText/R/calculate_prediction_errors.R
preText/R/zzz.R
preText/R/mantel_comparison_to_base.R
preText/R/optimal_k_comparison.R
preText/vignettes
preText/vignettes/getting_started_with_preText.Rmd
preText/README.md
preText/MD5
preText/build
preText/build/vignette.rds
preText/DESCRIPTION
preText/man
preText/man/preText.Rd
preText/man/regression_coefficient_plot.Rd
preText/man/dfm_scaling_test.Rd
preText/man/preText_score_plot.Rd
preText/man/scaling_comparison.Rd
preText/man/mantel_comparison_to_base.Rd
preText/man/calculate_prediction_errors.Rd
preText/man/preText_test.Rd
preText/man/optimal_k_comparison.Rd
preText/man/preprocessing_choice_regression.Rd
preText/man/factorial_preprocessing.Rd
preText/man/mantel_comparison.Rd
preText/man/wordfish_comparison.Rd
preText/man/document_position_plots.Rd
preText/man/topic_novelty_score.Rd
preText/man/remove_infrequent_terms.Rd
preText/man/topic_key_term_plot.Rd
preText/man/UK_Manifestos.Rd
preText/man/wordfish_rank_plot.Rd