├── .Rbuildignore ├── .gitattributes ├── .gitignore ├── .travis.yml ├── DESCRIPTION ├── NAMESPACE ├── NEWS ├── R ├── Animate.R ├── Animate.character.R ├── Ldist.R ├── NAer.R ├── Network.R ├── Search.R ├── Title.R ├── Trim.R ├── add_incomplete.R ├── add_s.R ├── adjacency_matrix.R ├── all_words.R ├── as.tdm.R ├── automated_readability_index.R ├── bag_o_words.R ├── beg2char.R ├── blank2NA.R ├── bracketX.R ├── build_qdap_vignette.R ├── capitalizer.R ├── chaining.R ├── check_spelling.R ├── check_text.R ├── chunker.R ├── clean.R ├── cm_2long.R ├── cm_bidist.R ├── cm_code.blank.R ├── cm_code.combine.R ├── cm_code.exclude.R ├── cm_code.overlap.R ├── cm_code.transform.R ├── cm_combine.dummy.R ├── cm_d2l.R ├── cm_debug.R ├── cm_debug2.R ├── cm_describe.R ├── cm_df.fill.R ├── cm_df.temp.R ├── cm_df.transcript.R ├── cm_df.transform.R ├── cm_df2long.R ├── cm_distance.R ├── cm_dummy2long.R ├── cm_long2dummy.R ├── cm_r2l.R ├── cm_range.temp.R ├── cm_range2long.R ├── cm_se2vect.R ├── cm_t2l.R ├── cm_time.temp.R ├── cm_time2long.R ├── cmspans.R ├── col.fn.R ├── colSplit.R ├── colcomb2class.R ├── colsplit2df.R ├── combine_tot.R ├── comma_spacer.R ├── common.R ├── condense.R ├── counts.R ├── cumulative.R ├── deprecated.R ├── dir_map.R ├── discourse_map.R ├── dispersion_plot.R ├── dissimilarity.R ├── dist_tab.R ├── diversity.R ├── duplicates.R ├── end_inc.R ├── end_mark.R ├── exclude.R ├── formality.R ├── freqTab2words.R ├── freq_terms.R ├── gantt.R ├── gantt_plot.R ├── gantt_rep.R ├── gantt_wrap.R ├── gradient_cloud.R ├── htruncdf.R ├── igraph_params.R ├── imperative.R ├── incomplete_replace.R ├── inspect_text.R ├── is.global.R ├── key_merge.R ├── kullback_leibler.R ├── left_just.R ├── lexical_classification.R ├── mcsv_r.R ├── merge_all.R ├── multigsub.R ├── multiscale.R ├── name2sex.R ├── ncutWORD.R ├── ncutWORDS.R ├── new_project.R ├── ngrams.R ├── numbtext.R ├── numfor.R ├── object_pronoun_type.R ├── outlier_detect.R ├── outlier_labeler.R ├── partition.R ├── paste2.R ├── phrase_net.R ├── plot.cmspans.R ├── polarity.R ├── pos.R ├── potential_NA.R ├── power.R ├── preprocessed.R ├── pronoun_type.R ├── prop.R ├── proportions.R ├── qcombine.R ├── qcv.R ├── qda.handler.R ├── qdap-package.R ├── qdap_df.R ├── qheat.R ├── qprep.R ├── question_type.R ├── random_sent.R ├── rank_freq_plot.R ├── raw_pro_comb.R ├── read.docx.R ├── read_transcript.R ├── reduceWORDS.R ├── reducer.R ├── replace_abbreviation.R ├── replace_contraction.R ├── replace_number.R ├── replace_ordinal.R ├── replace_symbol.R ├── replacer.R ├── rm_row.R ├── rm_stopwords.R ├── scores.R ├── scrubber.R ├── sentSplit.R ├── space_fill.R ├── spaste.R ├── speakerSplit.R ├── stemmer.R ├── strWrap.R ├── strip.R ├── subject_pronoun_type.R ├── syllable_sum.R ├── synonyms.R ├── table_methods.R ├── term.count.R ├── term.find.R ├── termco.R ├── termco.h.R ├── termco.p.R ├── termco2short.term.R ├── termco_c.R ├── tester.R ├── textLISTER.R ├── theme_qdap.R ├── tot_plot.R ├── trans_cloud.R ├── trans_context.R ├── trans_venn.R ├── type_token_ratio.R ├── unblanker.R ├── unique_by.R ├── utils.R ├── visual.R ├── weight.R ├── wfm.R ├── which.R ├── word_associate.R ├── word_cor.R ├── word_count.R ├── word_diff_list.R ├── word_length.R ├── word_list.R ├── word_network_plot.R ├── word_position.R ├── word_proximity.R ├── word_stats.R ├── words.R └── xnoy.R ├── README.md ├── contributors.geojson ├── data ├── DATA.SPLIT.rda ├── DATA.rda ├── DATA2.rda ├── env.syl.rda ├── hamlet.rda ├── mraja1.rda ├── mraja1spl.rda ├── pres_debate_raw2012.rda ├── pres_debates2012.rda ├── raj.act.1.rda ├── raj.act.1POS.rda ├── raj.act.2.rda ├── raj.act.3.rda ├── raj.act.4.rda ├── raj.act.5.rda ├── raj.demographics.rda ├── raj.rda ├── rajPOS.rda ├── rajSPLIT.rda ├── raw.time.span.rda └── sample.time.span.rda ├── inst ├── CITATION ├── Rmd_vignette │ ├── css │ │ └── style.css │ ├── data │ │ ├── polarity.example.rds │ │ ├── poldat4.rds │ │ ├── posbydat.rds │ │ └── wfmcor.rds │ ├── funs │ │ ├── extra_functions.txt │ │ └── utils_functions.txt │ ├── imgs │ │ ├── data_convert.png │ │ ├── qdaplogo.png │ │ └── tm_imgs │ │ │ ├── img1.png │ │ │ ├── img2.png │ │ │ ├── img3.png │ │ │ └── img4.png │ ├── qdap_vignette.Rmd │ ├── qdap_vignette.Rproj │ └── qdap_vignette.html ├── Scraping_Word_Lists │ └── create_dolch_and_fry1000.R ├── build.R ├── demos │ ├── discoursemap │ │ ├── discourse mapping.R │ │ └── example.pdf │ ├── qdap_logo.png │ ├── timespan.pdf │ └── transcript.pdf ├── extdata │ ├── docs │ │ ├── PROJECT_WORKFLOW_GUIDE.pdf │ │ ├── Rprofile.txt │ │ ├── TEMP.txt │ │ ├── extra_functions.R │ │ ├── preamble.tex │ │ └── report_1.rnw │ └── transcripts │ │ ├── trans1.docx │ │ ├── trans2.docx │ │ ├── trans3.docx │ │ └── trans4.xlsx ├── extra_statdoc │ └── readme.R ├── maintenance.R ├── pdf_gen │ ├── .gitignore │ ├── PROJECT_WORKFLOW_GUIDE-concordance.tex │ ├── PROJECT_WORKFLOW_GUIDE.log │ ├── PROJECT_WORKFLOW_GUIDE.pdf │ ├── PROJECT_WORKFLOW_GUIDE.rnw │ └── PROJECT_WORKFLOW_GUIDE.tex ├── polarity │ ├── negative.txt │ ├── polarity word list scraping.R │ ├── polarity.R │ └── positive.txt ├── qdap_Demonstration │ ├── NOTES │ ├── OUTLINE │ │ ├── outline.tex │ │ └── preamble.tex │ ├── PRESENTATION │ │ ├── MASTER.bib │ │ ├── local_host.bat │ │ ├── pos.RData │ │ ├── qdap_Demonstration.Rmd │ │ ├── qdap_Demonstration.html │ │ ├── qdap_Demonstration.md │ │ ├── qdap_Demonstration2.Rmd │ │ ├── qdap_Demonstration2.html │ │ ├── qdap_Demonstration2.md │ │ └── vid1.html │ ├── PRESENTATION_WORKFLOW_GUIDE.pdf │ ├── TO_DO │ └── extra_functions.R └── staticdocs │ └── index.R ├── man ├── Animate.Rd ├── Animate.character.Rd ├── Animate.discourse_map.Rd ├── Animate.formality.Rd ├── Animate.gantt.Rd ├── Animate.gantt_plot.Rd ├── Animate.lexical_classification.Rd ├── Animate.polarity.Rd ├── DATA.Rd ├── DATA.SPLIT.Rd ├── DATA2.Rd ├── Dissimilarity.Rd ├── Filter.Rd ├── NAer.Rd ├── Network.Rd ├── Network.formality.Rd ├── Network.lexical_classification.Rd ├── Network.polarity.Rd ├── Readability.Rd ├── Search.Rd ├── Title.Rd ├── Trim.Rd ├── Word_Frequency_Matrix.Rd ├── addNetwork.Rd ├── add_incomplete.Rd ├── add_s.Rd ├── adjacency_matrix.Rd ├── all_words.Rd ├── as.tdm.Rd ├── bag_o_words.Rd ├── beg2char.Rd ├── blank2NA.Rd ├── bracketX.Rd ├── build_qdap_vignette.Rd ├── capitalizer.Rd ├── chain.Rd ├── check_spelling.Rd ├── check_spelling_interactive.character.Rd ├── check_spelling_interactive.check_spelling.Rd ├── check_spelling_interactive.factor.Rd ├── check_text.Rd ├── chunker.Rd ├── clean.Rd ├── cm_2long.Rd ├── cm_code.blank.Rd ├── cm_code.combine.Rd ├── cm_code.exclude.Rd ├── cm_code.overlap.Rd ├── cm_code.transform.Rd ├── cm_combine.dummy.Rd ├── cm_df.fill.Rd ├── cm_df.temp.Rd ├── cm_df.transcript.Rd ├── cm_df2long.Rd ├── cm_distance.Rd ├── cm_dummy2long.Rd ├── cm_long2dummy.Rd ├── cm_range.temp.Rd ├── cm_range2long.Rd ├── cm_time.temp.Rd ├── cm_time2long.Rd ├── colSplit.Rd ├── colcomb2class.Rd ├── colsplit2df.Rd ├── comma_spacer.Rd ├── common.Rd ├── common.list.Rd ├── condense.Rd ├── counts.Rd ├── counts.SMOG.Rd ├── counts.automated_readability_index.Rd ├── counts.character_table.Rd ├── counts.coleman_liau.Rd ├── counts.end_mark_by.Rd ├── counts.flesch_kincaid.Rd ├── counts.formality.Rd ├── counts.fry.Rd ├── counts.linsear_write.Rd ├── counts.object_pronoun_type.Rd ├── counts.polarity.Rd ├── counts.pos.Rd ├── counts.pos_by.Rd ├── counts.pronoun_type.Rd ├── counts.question_type.Rd ├── counts.subject_pronoun_type.Rd ├── counts.termco.Rd ├── counts.word_length.Rd ├── counts.word_position.Rd ├── counts.word_stats.Rd ├── cumulative.Rd ├── data_viewing.Rd ├── dir_map.Rd ├── discourse_map.Rd ├── dispersion_plot.Rd ├── dist_tab.Rd ├── diversity.Rd ├── duplicates.Rd ├── end_inc.Rd ├── end_mark.Rd ├── env.syl.Rd ├── exclude.Rd ├── file_handling.Rd ├── formality.Rd ├── freq_terms.Rd ├── gantt.Rd ├── gantt_plot.Rd ├── gantt_rep.Rd ├── gantt_wrap.Rd ├── gradient_cloud.Rd ├── hamlet.Rd ├── igraph_params.Rd ├── imperative.Rd ├── incomplete_replace.Rd ├── inspect_text.Rd ├── is.global.Rd ├── justification.Rd ├── key_merge.Rd ├── kullback_leibler.Rd ├── lexical_classification.Rd ├── mraja1.Rd ├── mraja1spl.Rd ├── multicsv.Rd ├── multigsub.Rd ├── multiscale.Rd ├── name2sex.Rd ├── new_project.Rd ├── ngrams.Rd ├── object_pronoun_type.Rd ├── outlier_detect.Rd ├── outlier_labeler.Rd ├── paste2.Rd ├── phrase_net.Rd ├── plot.Network.Rd ├── plot.SMOG.Rd ├── plot.animated_character.Rd ├── plot.animated_discourse_map.Rd ├── plot.animated_formality.Rd ├── plot.animated_lexical_classification.Rd ├── plot.animated_polarity.Rd ├── plot.automated_readability_index.Rd ├── plot.character_table.Rd ├── plot.cm_distance.Rd ├── plot.cmspans.Rd ├── plot.coleman_liau.Rd ├── plot.combo_syllable_sum.Rd ├── plot.cumulative_animated_formality.Rd ├── plot.cumulative_animated_lexical_classification.Rd ├── plot.cumulative_animated_polarity.Rd ├── plot.cumulative_combo_syllable_sum.Rd ├── plot.cumulative_end_mark.Rd ├── plot.cumulative_formality.Rd ├── plot.cumulative_lexical_classification.Rd ├── plot.cumulative_polarity.Rd ├── plot.cumulative_syllable_freq.Rd ├── plot.discourse_map.Rd ├── plot.diversity.Rd ├── plot.end_mark.Rd ├── plot.end_mark_by.Rd ├── plot.end_mark_by_count.Rd ├── plot.end_mark_by_preprocessed.Rd ├── plot.end_mark_by_proportion.Rd ├── plot.end_mark_by_score.Rd ├── plot.flesch_kincaid.Rd ├── plot.formality.Rd ├── plot.formality_scores.Rd ├── plot.freq_terms.Rd ├── plot.gantt.Rd ├── plot.kullback_leibler.Rd ├── plot.lexical.Rd ├── plot.lexical_classification.Rd ├── plot.lexical_classification_preprocessed.Rd ├── plot.lexical_classification_score.Rd ├── plot.linsear_write.Rd ├── plot.linsear_write_count.Rd ├── plot.linsear_write_scores.Rd ├── plot.object_pronoun_type.Rd ├── plot.polarity.Rd ├── plot.polarity_count.Rd ├── plot.polarity_score.Rd ├── plot.pos.Rd ├── plot.pos_by.Rd ├── plot.pos_preprocessed.Rd ├── plot.pronoun_type.Rd ├── plot.question_type.Rd ├── plot.question_type_preprocessed.Rd ├── plot.readability_count.Rd ├── plot.readability_score.Rd ├── plot.rmgantt.Rd ├── plot.sent_split.Rd ├── plot.subject_pronoun_type.Rd ├── plot.sum_cmspans.Rd ├── plot.sums_gantt.Rd ├── plot.syllable_freq.Rd ├── plot.table_count.Rd ├── plot.table_proportion.Rd ├── plot.table_score.Rd ├── plot.termco.Rd ├── plot.type_token_ratio.Rd ├── plot.weighted_wfm.Rd ├── plot.wfdf.Rd ├── plot.wfm.Rd ├── plot.word_cor.Rd ├── plot.word_length.Rd ├── plot.word_position.Rd ├── plot.word_proximity.Rd ├── plot.word_stats.Rd ├── plot.word_stats_counts.Rd ├── polarity.Rd ├── pos.Rd ├── potential_NA.Rd ├── power.Rd ├── preprocessed.Rd ├── preprocessed.check_spelling_interactive.Rd ├── preprocessed.end_mark_by.Rd ├── preprocessed.formality.Rd ├── preprocessed.lexical_classification.Rd ├── preprocessed.object_pronoun_type.Rd ├── preprocessed.pos.Rd ├── preprocessed.pos_by.Rd ├── preprocessed.pronoun_type.Rd ├── preprocessed.question_type.Rd ├── preprocessed.subject_pronoun_type.Rd ├── preprocessed.word_position.Rd ├── pres_debate_raw2012.Rd ├── pres_debates2012.Rd ├── print.Dissimilarity.Rd ├── print.Network.Rd ├── print.SMOG.Rd ├── print.adjacency_matrix.Rd ├── print.all_words.Rd ├── print.animated_character.Rd ├── print.animated_discourse_map.Rd ├── print.animated_formality.Rd ├── print.animated_lexical_classification.Rd ├── print.animated_polarity.Rd ├── print.automated_readability_index.Rd ├── print.boolean_qdap.Rd ├── print.character_table.Rd ├── print.check_spelling.Rd ├── print.check_spelling_interactive.Rd ├── print.check_text.Rd ├── print.cm_distance.Rd ├── print.coleman_liau.Rd ├── print.colsplit2df.Rd ├── print.combo_syllable_sum.Rd ├── print.cumulative_animated_formality.Rd ├── print.cumulative_animated_lexical_classification.Rd ├── print.cumulative_animated_polarity.Rd ├── print.cumulative_combo_syllable_sum.Rd ├── print.cumulative_end_mark.Rd ├── print.cumulative_formality.Rd ├── print.cumulative_lexical_classification.Rd ├── print.cumulative_polarity.Rd ├── print.cumulative_syllable_freq.Rd ├── print.discourse_map.Rd ├── print.diversity.Rd ├── print.end_mark.Rd ├── print.end_mark_by.Rd ├── print.end_mark_by_preprocessed.Rd ├── print.flesch_kincaid.Rd ├── print.formality.Rd ├── print.formality_scores.Rd ├── print.fry.Rd ├── print.inspect_text.Rd ├── print.kullback_leibler.Rd ├── print.lexical_classification.Rd ├── print.lexical_classification_by.Rd ├── print.lexical_classification_preprocessed.Rd ├── print.lexical_classification_score.Rd ├── print.linsear_write.Rd ├── print.linsear_write_count.Rd ├── print.linsear_write_scores.Rd ├── print.ngrams.Rd ├── print.object_pronoun_type.Rd ├── print.phrase_net.Rd ├── print.polarity.Rd ├── print.polarity_count.Rd ├── print.polarity_score.Rd ├── print.polysyllable_sum.Rd ├── print.pos.Rd ├── print.pos_by.Rd ├── print.pos_preprocessed.Rd ├── print.pronoun_type.Rd ├── print.qdapProj.Rd ├── print.qdap_context.Rd ├── print.question_type.Rd ├── print.question_type_preprocessed.Rd ├── print.readability_count.Rd ├── print.readability_score.Rd ├── print.sent_split.Rd ├── print.sub_holder.Rd ├── print.subject_pronoun_type.Rd ├── print.sum_cmspans.Rd ├── print.sums_gantt.Rd ├── print.syllable_sum.Rd ├── print.table_count.Rd ├── print.table_proportion.Rd ├── print.table_score.Rd ├── print.termco.Rd ├── print.trunc.Rd ├── print.type_token_ratio.Rd ├── print.wfm.Rd ├── print.wfm_summary.Rd ├── print.which_misspelled.Rd ├── print.word_associate.Rd ├── print.word_cor.Rd ├── print.word_length.Rd ├── print.word_list.Rd ├── print.word_position.Rd ├── print.word_proximity.Rd ├── print.word_stats.Rd ├── print.word_stats_counts.Rd ├── pronoun_type.Rd ├── prop.Rd ├── proportions.Rd ├── proportions.character_table.Rd ├── proportions.end_mark_by.Rd ├── proportions.formality.Rd ├── proportions.object_pronoun_type.Rd ├── proportions.pos.Rd ├── proportions.pos_by.Rd ├── proportions.pronoun_type.Rd ├── proportions.question_type.Rd ├── proportions.subject_pronoun_type.Rd ├── proportions.termco.Rd ├── proportions.word_length.Rd ├── proportions.word_position.Rd ├── qcombine.Rd ├── qcv.Rd ├── qdap.Rd ├── qdap_df.Rd ├── qheat.Rd ├── qprep.Rd ├── qtheme.Rd ├── question_type.Rd ├── raj.Rd ├── raj.act.1.Rd ├── raj.act.1POS.Rd ├── raj.act.2.Rd ├── raj.act.3.Rd ├── raj.act.4.Rd ├── raj.act.5.Rd ├── raj.demographics.Rd ├── rajPOS.Rd ├── rajSPLIT.Rd ├── random_data.Rd ├── rank_freq_plot.Rd ├── raw.time.span.Rd ├── read.transcript.Rd ├── replace_abbreviation.Rd ├── replace_contraction.Rd ├── replace_number.Rd ├── replace_ordinal.Rd ├── replace_symbol.Rd ├── replacer.Rd ├── rm_row.Rd ├── rm_stopwords.Rd ├── sample.time.span.Rd ├── scores.Rd ├── scores.SMOG.Rd ├── scores.automated_readability_index.Rd ├── scores.character_table.Rd ├── scores.coleman_liau.Rd ├── scores.end_mark_by.Rd ├── scores.flesch_kincaid.Rd ├── scores.formality.Rd ├── scores.fry.Rd ├── scores.lexical_classification.Rd ├── scores.linsear_write.Rd ├── scores.object_pronoun_type.Rd ├── scores.polarity.Rd ├── scores.pos_by.Rd ├── scores.pronoun_type.Rd ├── scores.question_type.Rd ├── scores.subject_pronoun_type.Rd ├── scores.termco.Rd ├── scores.word_length.Rd ├── scores.word_position.Rd ├── scores.word_stats.Rd ├── scrubber.Rd ├── sentSplit.Rd ├── space_fill.Rd ├── spaste.Rd ├── speakerSplit.Rd ├── stemmer.Rd ├── strWrap.Rd ├── strip.Rd ├── subject_pronoun_type.Rd ├── summary.cmspans.Rd ├── summary.wfdf.Rd ├── summary.wfm.Rd ├── syllabication.Rd ├── synonyms.Rd ├── termco.Rd ├── termco_c.Rd ├── tot_plot.Rd ├── trans_cloud.Rd ├── trans_context.Rd ├── trans_venn.Rd ├── type_token_ratio.Rd ├── unique_by.Rd ├── visual.Rd ├── visual.discourse_map.Rd ├── weight.Rd ├── word_associate.Rd ├── word_cor.Rd ├── word_count.Rd ├── word_diff_list.Rd ├── word_length.Rd ├── word_list.Rd ├── word_network_plot.Rd ├── word_position.Rd ├── word_proximity.Rd └── word_stats.Rd ├── tests ├── testthat.R └── testthat │ ├── test-add_incomplete.R │ ├── test-adjacency_matrix.R │ ├── test-all_words.R │ ├── test-as.tdm.R │ ├── test-automated_readability_index.R │ ├── test-bag_o_words.R │ ├── test-beg2char.R │ ├── test-blank2NA.R │ ├── test-bracketX.R │ ├── test-capitalizer.R │ ├── test-chunker.R │ ├── test-clean.R │ ├── test-cm_2long.R │ ├── test-cm_code.blank.R │ ├── test-cmspans.R │ ├── test-colSplit.R │ ├── test-colcomb2class.R │ ├── test-common.R │ ├── test-dispersion_plot.R │ ├── test-end_mark.R │ ├── test-formality.R │ ├── test-phrase_net.R │ ├── test-polarity.R │ ├── test-pos.R │ ├── test-replace_number.R │ ├── test-strip.R │ ├── test-syllable_sum.R │ ├── test-unique_by.R │ ├── test-wfm.R │ └── test-word_length.R └── tools └── r_qdaplogo ├── qdapicon.pdf ├── qdapicon.png ├── qdapicon.svg ├── qdaplogo.pdf ├── qdaplogo.png ├── qdaplogo.svg └── resize_icon.txt /.gitattributes: -------------------------------------------------------------------------------- 1 | inst/staticdocs/* linguist-documentation 2 | inst/qdap_Demonstration/* linguist-documentation 3 | inst/Rmd_vignette/* linguist-documentation 4 | inst/web/* linguist-documentation 5 | inst/qdap_logo linguist-documentation 6 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: r 2 | 3 | sudo: false 4 | before_install: 5 | - sh -e /etc/init.d/xvfb start 6 | 7 | addons: 8 | apt: 9 | packages: 10 | - qpdf 11 | - texinfo 12 | 13 | r_github_packages: 14 | - jimhester/covr 15 | - cran/chron 16 | 17 | 18 | notifications: 19 | email: 20 | on_success: change 21 | on_failure: change 22 | 23 | 24 | r_build_args: "--resave-data=best" 25 | r_check_args: "--as-cran" 26 | 27 | env: 28 | global: 29 | - DISPLAY=:99.0 30 | - BOOTSTRAP_LATEX=1 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /R/Animate.R: -------------------------------------------------------------------------------- 1 | #' Generic Animate Method 2 | #' 3 | #' Animate select qdap objects. 4 | #' 5 | #' @param x An animatable qdap object (e.g., \code{\link[qdap]{discourse_map}}). 6 | #' @param \ldots Arguments passed to Animate method of other classes. 7 | #' @export 8 | #' @seealso \code{\link[qdap]{scores}}, 9 | #' \code{\link[qdap]{counts}}, 10 | #' \code{\link[qdap]{preprocessed}}, 11 | #' \code{\link[qdap]{proportions}} 12 | #' @return Returns a plot object. 13 | Animate <- 14 | function(x, ...){ 15 | UseMethod("Animate") 16 | } 17 | -------------------------------------------------------------------------------- /R/Ldist.R: -------------------------------------------------------------------------------- 1 | ## Calculates Levenshtein distance: 2 | 3 | Ldist <- function(pattern, strings){ 4 | minD <- function(string, pattern){ 5 | for (i in seq(0, 1, .001)) { 6 | x <- agrep(pattern, string, max.distance = i) 7 | if (!identical(x, integer(0))) { 8 | m <- i 9 | break 10 | } 11 | } 12 | m 13 | } 14 | unlist(lapply(strings, minD, pattern = pattern)) 15 | } 16 | -------------------------------------------------------------------------------- /R/Title.R: -------------------------------------------------------------------------------- 1 | #' Add Title to Select qdap Plots 2 | #' 3 | #' Add title to select qdap objects that store a plot. 4 | #' 5 | #' @param object A select qdap object that stores a plot. 6 | #' @param value The value to assign to title. 7 | #' @rdname Title 8 | #' @keywords title 9 | #' @export 10 | Title <- function(object) { 11 | attributes(object)[["title"]] 12 | } 13 | 14 | #' @rdname Title 15 | #' @export 16 | "Title<-" <- function(object, value) { 17 | attributes(object)[["title"]] <- value 18 | object 19 | } 20 | -------------------------------------------------------------------------------- /R/Trim.R: -------------------------------------------------------------------------------- 1 | #' Remove Leading/Trailing White Space 2 | #' 3 | #' Remove leading/trailing white space. 4 | #' 5 | #' @param x The text variable. 6 | #' @return Returns a vector with the leading/trailing white spaces removed. 7 | #' @export 8 | #' @examples 9 | #' \dontrun{ 10 | #' (x <- c(" talkstats.com ", " really? ", " yeah")) 11 | #' Trim(x) 12 | #' } 13 | Trim <- 14 | function (x) gsub("^\\s+|\\s+$", "", x) 15 | -------------------------------------------------------------------------------- /R/add_s.R: -------------------------------------------------------------------------------- 1 | #' Make Plural (or Verb to Singular) Versions of Words 2 | #' 3 | #' Add -s, -es, or -ies to words. 4 | #' 5 | #' @param x A vector of words to make plural. 6 | #' @param keep.original logical. If \code{TRUE} the original words are kept in 7 | #' the return vector. 8 | #' @return Returns a vector of plural words. 9 | #' @keywords plural 10 | #' @export 11 | #' @examples 12 | #' set.seed(10) 13 | #' add_s(sample(GradyAugmented, 10)) 14 | #' set.seed(10) 15 | #' add_s(sample(GradyAugmented, 10), FALSE) 16 | add_s <- function(x, keep.original = TRUE) { 17 | ends <- qdapRegex::pastex(c("s$", "x$", "ch$", "sh$")) 18 | pluralify <- ifelse(grepl(ends, x), "es", "s") 19 | 20 | c(if (keep.original){x}, gsub("ys$", "ies", paste0(x, pluralify))) 21 | } 22 | 23 | -------------------------------------------------------------------------------- /R/blank2NA.R: -------------------------------------------------------------------------------- 1 | #' Replace Blanks in a dataframe 2 | #' 3 | #' Replaces blank (empty) cells in a dataframe. Generally, for internal use. 4 | #' 5 | #' @param dataframe A dataframe with blank (empty) cells. 6 | #' @param missing Value to replace empty cells with. 7 | #' @return Returns a data frame with blank spaces replaced. 8 | #' @seealso \code{\link[qdap]{rm_row}} 9 | #' @export 10 | #' @examples 11 | #' \dontrun{ 12 | #' set.seed(15) 13 | #' dat <- data.frame(matrix(sample(c(month.abb[1:4], ""), 50, TRUE), 14 | #' 10, byrow = TRUE), stringsAsFactors = FALSE) 15 | #' 16 | #' dat 17 | #' blank2NA(dat) 18 | #' } 19 | blank2NA <- 20 | function (dataframe, missing = NA) { 21 | dataframe[dataframe == ""] <- missing 22 | dataframe 23 | } 24 | -------------------------------------------------------------------------------- /R/clean.R: -------------------------------------------------------------------------------- 1 | #' Remove Escaped Characters 2 | #' 3 | #' Preprocess data to remove escaped characters 4 | #' 5 | #' @param text.var The text variable 6 | #' @return Returns a vector of character strings with escaped characters removed. 7 | #' @keywords escaped character 8 | #' @export 9 | #' @examples 10 | #' \dontrun{ 11 | #' x <- "I go \\r 12 | #' to the \\tnext line" 13 | #' x 14 | #' clean(x) 15 | #' } 16 | clean <- 17 | function(text.var) { 18 | gsub("\\s+", " ", gsub("\\\\r|\\\\n|\\n|\\\\t", " ", text.var)) 19 | } 20 | -------------------------------------------------------------------------------- /R/cm_se2vect.R: -------------------------------------------------------------------------------- 1 | #currently used as a helper function in: cm_distance (not currently exported) 2 | cm_se2vect <- function(start, end, n.words = NULL, safety = TRUE) { 3 | dat <- data.frame(start =start, end = end) 4 | if (is.null(n.words)){ 5 | n.words <- max(dat$end) 6 | } 7 | if (safety) { 8 | y <- dat[, "start"] 9 | if(sum(diff(y) < 0) > 0){ 10 | stop("each element of the start column is not growing") 11 | } 12 | } 13 | x <- rep(0, n.words) 14 | x[unlist(lapply(1:nrow(dat), function(i) dat$start[i]:(dat$end[i])))] <- 1 15 | x 16 | } 17 | -------------------------------------------------------------------------------- /R/col.fn.R: -------------------------------------------------------------------------------- 1 | #Currently used as a helper function in converting the colors from the venn 2 | #diagrams 3 | col.fn <- 4 | function(col, alpha=0.3) { 5 | col<- grDevices::hcl(col * 360, 130, 60) 6 | col <- grDevices::col2rgb(col)/255 7 | col <- grDevices::rgb(col[1, ], col[2, ], col[3, ], alpha) 8 | col 9 | } 10 | -------------------------------------------------------------------------------- /R/comma_spacer.R: -------------------------------------------------------------------------------- 1 | #' Ensure Space After Comma 2 | #' 3 | #' Adds a space after a comma as strip and many other functions may consider a 4 | #' comma separated string as one word (i.e., \code{"one,two,three"} becomes 5 | #' \code{"onetwothree"} rather than \code{"one two three"}). 6 | #' 7 | #' @param text.var The text variable. 8 | #' @return Returns a vector of strings with commas that have a space after them. 9 | #' @keywords comma space 10 | #' @export 11 | #' @examples 12 | #' \dontrun{ 13 | #' x <- c("the, dog,went", "I,like,it", "where are you", NA, "why", ",", ",f") 14 | #' comma_spacer(x) 15 | #' } 16 | comma_spacer <- function(text.var) { 17 | gsub("(,)([^ ])", "\\1 \\2", text.var) 18 | } 19 | 20 | -------------------------------------------------------------------------------- /R/counts.R: -------------------------------------------------------------------------------- 1 | #' Generic Counts Method 2 | #' 3 | #' Access the count dataframes from select qdap outputs. 4 | #' 5 | #' @param x A qdap object (list) with a count dataframe (e.g., 6 | #' \code{\link[qdap]{fry}}). 7 | #' @param \ldots Arguments passed to counts method of other classes. 8 | #' @export 9 | #' @seealso \code{\link[qdap]{scores}}, 10 | #' \code{\link[qdap]{proportions}}, 11 | #' \code{\link[qdap]{preprocessed}}, 12 | #' \code{\link[qdap]{visual}} 13 | #' @return Returns a data.frame of counts. 14 | counts <- 15 | function(x, ...){ 16 | UseMethod("counts") 17 | } 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /R/cumulative.R: -------------------------------------------------------------------------------- 1 | #' Cumulative Scores 2 | #' 3 | #' \code{cumulative} - Generate rolling/cumulative scores for select \pkg{qdap} 4 | #' objects. 5 | #' 6 | #' @param x A qdap object with an accompanying \code{cumulative} method. 7 | #' @param \ldots ignored 8 | #' @rdname cumulative 9 | #' @export 10 | cumulative <- function(x, ...) { 11 | 12 | x 13 | 14 | UseMethod("cumulative") 15 | } -------------------------------------------------------------------------------- /R/duplicates.R: -------------------------------------------------------------------------------- 1 | #' Find Duplicated Words in a Text String 2 | #' 3 | #' Find duplicated word/word chunks in a string. Intended for internal use. 4 | #' @param string A character string. 5 | #' @param threshold An integer of the minimal number of repeats. 6 | #' @return Returns a vector of all duplicated words/chunks. 7 | #' @export 8 | #' @examples 9 | #' \dontrun{ 10 | #' duplicates(DATA$state) 11 | #' duplicates(DATA$state[1]) 12 | #' } 13 | duplicates <- #used in trans_venn 14 | function(string, threshold=1){ 15 | x<-sort(unlist(strsplit(string, " "))) 16 | if (threshold > 1) { 17 | names(table(x))[table(x) >= threshold] 18 | } else { 19 | unique(x[duplicated(x)]) 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /R/freqTab2words.R: -------------------------------------------------------------------------------- 1 | #helper function for word_list/trans_cloud 2 | freqTab2words <- 3 | function(word.list){ 4 | if(is.data.frame(word.list)){ 5 | rep(word.list[, 1], word.list[, 2]) 6 | } else { 7 | lapply(word.list, function(x) rep(x[, 1], x[, 2])) 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /R/is.global.R: -------------------------------------------------------------------------------- 1 | #' Test If Environment is Global 2 | #' 3 | #' A logical test to determine if the current environment is the global 4 | #' environment. 5 | #' 6 | #' @param n The number of generations to go back. If used as a function 7 | #' argument n should be set to 2. 8 | #' @return A logical response. 9 | #' @references \url{http://stackoverflow.com/questions/18637656/detect-if-environment-is-global-enviroment} 10 | #' @export 11 | #' @author Simon O'Hanlon and Tyler Rinker 12 | #' @seealso \code{\link[base]{globalenv}}, 13 | #' \code{\link[base]{parent.frame}} 14 | #' @examples 15 | #' is.global() 16 | #' lapply(1:3, function(i) is.global()) 17 | #' FUN <- function() is.global(); FUN() 18 | #' 19 | #' FUN2 <- function(x = is.global(2)) x 20 | #' FUN2() 21 | #' FUN3 <- function() FUN2(); FUN3() 22 | is.global <- function(n = 1) { 23 | identical(parent.frame(n = n) , globalenv()) 24 | } 25 | -------------------------------------------------------------------------------- /R/ncutWORD.R: -------------------------------------------------------------------------------- 1 | #helper function for word_list (not exported) 2 | ncutWORD <- 3 | function(freqWORDS.DF, cut.n = 15) { 4 | FREQ <- NULL 5 | if (nrow(freqWORDS.DF) > cut.n) { 6 | subset(freqWORDS.DF, FREQ >= freqWORDS.DF[cut.n, "FREQ"]) 7 | } else { 8 | freqWORDS.DF 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /R/ncutWORDS.R: -------------------------------------------------------------------------------- 1 | #helper function for word_list (not exported) 2 | ncutWORDS <- 3 | function(freqWORDSobj, cut.n = 15) { 4 | FREQ <- NULL 5 | ncutWORDSa <- function(freqWORDS.DF, cut.ns) { 6 | if (nrow(freqWORDS.DF) > cut.ns) { 7 | subset(freqWORDS.DF, FREQ >= freqWORDS.DF[cut.ns, "FREQ"]) 8 | } else { 9 | freqWORDS.DF 10 | } 11 | } 12 | if (is.data.frame(freqWORDSobj) & is.data.frame(freqWORDSobj)) { 13 | ncutWORDSa(freqWORDS.DF = freqWORDSobj, cut.ns = cut.n) 14 | } else { 15 | lapply(freqWORDSobj, function(x) ncutWORDSa(x, cut.ns = cut.n)) 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /R/partition.R: -------------------------------------------------------------------------------- 1 | #helper function for readability statisitics (not exported) 2 | partition <- 3 | function(x, k = 100){ 4 | n <- length(x) 5 | if (sum(stats::na.omit(x)) < k) { 6 | ans <- rep(NA, n) 7 | return(factor(ans)) 8 | } 9 | breaks <- c() 10 | repeat{ 11 | spot <- suppressWarnings(min(which(cumsum(x) >= k))) 12 | if (!is.finite(spot)) { 13 | break 14 | } 15 | x <- x[-c(1:spot)] 16 | breaks <- c(breaks, spot) 17 | } 18 | ans <- rep(NA, n) 19 | groups <- paste("sel_", rep(1:(length(breaks)), breaks), sep = "") 20 | ans[1:length(groups)] <- groups 21 | return(factor(ans)) 22 | } 23 | -------------------------------------------------------------------------------- /R/potential_NA.R: -------------------------------------------------------------------------------- 1 | #' Search for Potential Missing Values 2 | #' 3 | #' Search for potential missing values (i.e., sentences that are merely a 4 | #' punctuation mark) and optionally replace with missing value (\code{NA}). 5 | #' Useful in the initial cleaning process. 6 | #' 7 | #' @param text.var The text variable. 8 | #' @param n Number of characters to consider for missing (default is 3). 9 | #' @return Returns a dataframe of potential missing values row numbers and text. 10 | #' @export 11 | #' @examples 12 | #' \dontrun{ 13 | #' DATA$state[c(3, 7)] <- "." 14 | #' potential_NA(DATA$state, 20) 15 | #' potential_NA(DATA$state) 16 | #' # USE TO SELCTIVELY REPLACE CELLS WITH MISSING VALUES 17 | #' DATA$state[potential_NA(DATA$state, 20)$row[-c(3)]] <- NA 18 | #' DATA 19 | #' DATA <- qdap::DATA 20 | #' } 21 | potential_NA <- function(text.var, n = 3) { 22 | txt <- nchar(text.var) < n & !is.na(text.var) 23 | data.frame(row = which(txt), text = text.var[txt]) 24 | } 25 | -------------------------------------------------------------------------------- /R/preprocessed.R: -------------------------------------------------------------------------------- 1 | #' Generic Preprocessed Method 2 | #' 3 | #' Access the preprocessed dataframes/lists from select qdap outputs. 4 | #' 5 | #' @param x A qdap object (list) with a dataframe/list of preprocessed data 6 | #' (e.g., \code{\link[qdap]{pos_by}}). 7 | #' @param \ldots Arguments passed to preprocessed method of other classes. 8 | #' @export 9 | #' @seealso \code{\link[qdap]{scores}}, 10 | #' \code{\link[qdap]{counts}}, 11 | #' \code{\link[qdap]{proportions}}, 12 | #' \code{\link[qdap]{visual}} 13 | #' @return Returns a data.frame or list of preprocessed data. 14 | preprocessed <- 15 | function(x, ...){ 16 | UseMethod("preprocessed") 17 | } 18 | -------------------------------------------------------------------------------- /R/proportions.R: -------------------------------------------------------------------------------- 1 | #' Generic Proportions Method 2 | #' 3 | #' Access the proportions dataframes from select qdap outputs. 4 | #' 5 | #' @param x A qdap object (list) with a proportions dataframe (e.g., 6 | #' \code{\link[qdap]{termco}}). 7 | #' @param \ldots Arguments passed to proportions method of other classes. 8 | #' @export 9 | #' @seealso \code{\link[qdap]{scores}}, 10 | #' \code{\link[qdap]{counts}}, 11 | #' \code{\link[qdap]{preprocessed}}, 12 | #' \code{\link[qdap]{visual}} 13 | #' @return Returns a data.frame of proportions. 14 | proportions <- 15 | function(x, ...){ 16 | UseMethod("proportions") 17 | } 18 | -------------------------------------------------------------------------------- /R/qda.handler.R: -------------------------------------------------------------------------------- 1 | #internal function used by trans_cloud and word.comp (not exportd) 2 | qda.handler <- 3 | function(x) { 4 | if (any(class(x) %in% c("freqList", "bagOwords"))) { 5 | if (methods::is(x, "freqList")) { 6 | return(freqTab2words(x)) 7 | } else { 8 | if (methods::is(x, "bagOwords")) { 9 | return(x) 10 | } 11 | } 12 | } else { 13 | if (is.vector(x)) { 14 | warning ("Not a `word_list` object.") 15 | return(x) 16 | } else { 17 | stop("Must be a word_list object or a vector of raw words") 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /R/reduceWORDS.R: -------------------------------------------------------------------------------- 1 | #used in word_list (not exported) 2 | reduceWORDS <- 3 | function(rfwlDF_LIST){ 4 | RFL <- function(rfwlDF){ 5 | BB <- rfwlDF 6 | unlist(as.character(BB[ rep( seq(dim(BB)[1]), BB$FREQ), 1])) 7 | } 8 | lapply(rfwlDF_LIST, RFL) 9 | } 10 | -------------------------------------------------------------------------------- /R/reducer.R: -------------------------------------------------------------------------------- 1 | #internal not exported 2 | reducer <- 3 | function(x) gsub("\\s+", " ", x) 4 | -------------------------------------------------------------------------------- /R/scores.R: -------------------------------------------------------------------------------- 1 | #' Generic Scores Method 2 | #' 3 | #' Access the scores dataframes from select qdap outputs. 4 | #' 5 | #' @param x A qdap object (list) with a dataframe of scores (e.g., 6 | #' \code{\link[qdap]{fry}}, \code{\link[qdap]{formality}}). 7 | #' @param \ldots Arguments passed to scores method of other classes. 8 | #' @export 9 | #' @seealso \code{\link[qdap]{counts}} 10 | #' @seealso \code{\link[qdap]{proportions}} 11 | #' @seealso \code{\link[qdap]{preprocessed}} 12 | #' @return Returns a data.frame of scores. 13 | scores <- 14 | function(x, ...){ 15 | UseMethod("scores") 16 | } 17 | -------------------------------------------------------------------------------- /R/term.count.R: -------------------------------------------------------------------------------- 1 | #helper function for termco_d and termco (not exported) 2 | term.count <- 3 | function(str, mat){ 4 | tester <- function(x, y){ 5 | p <- suppressWarnings(unlist(gregexpr(x, y, fixed = TRUE))) 6 | j <- suppressWarnings(if(length(p) == 1 && (is.na(p) | p < 1)) { 7 | 0 8 | } else { 9 | length(p) 10 | } 11 | ) 12 | return(j) 13 | } 14 | spacer <- function(string){ 15 | sapply(string, function(x) paste0(" ", x, " "), USE.NAMES = FALSE) 16 | } 17 | str <- spacer(str) 18 | y <- sapply(mat, function(x) tester(x, str)) 19 | return(y) 20 | } 21 | -------------------------------------------------------------------------------- /R/termco.p.R: -------------------------------------------------------------------------------- 1 | #helper function for termco_d and termco (not exported) 2 | termco.p <- 3 | function(tco, percent = TRUE, short.term = FALSE){ 4 | subdf <- function(df, ii) { 5 | do.call("data.frame", c(as.list(df)[ii, drop=FALSE], check.names=FALSE)) 6 | } 7 | a <- subdf(tco, -c(1:2)) 8 | b <- tco[, 2] 9 | e <- tco[, 1:2] 10 | 11 | ## Added nan2zero on 1-21-14 to deal with infinite values caused by NA 12 | if (percent) { 13 | d <- lapply(a, function(x) nan2zero(100*(x/b))) 14 | } else { 15 | d <- lapply(a, function(x) nan2zero(x/b)) 16 | } 17 | o <- data.frame(e, d, check.names = FALSE) 18 | if (short.term) { 19 | o <- termco2short.term(o) 20 | } 21 | return(o) 22 | } 23 | 24 | ## Helper function added on 1-21-14 25 | ## Used in termco_c as well 26 | nan2zero <- function(x) { 27 | x[is.nan(x)] <- 0 28 | x 29 | } 30 | 31 | -------------------------------------------------------------------------------- /R/termco2short.term.R: -------------------------------------------------------------------------------- 1 | #helper function for termco_d and termco (not exported) 2 | termco2short.term <- 3 | function(termco.object, trim.terms = TRUE){ 4 | CLASS <- class(termco.object) 5 | short.name <- function(df){ 6 | mn <- gsub("(.*)\\)([^\\)]*)", "\\1\\2", colnames(df)) 7 | colnames(df) <- Trim(gsub("term(", "", mn, fixed=TRUE)) 8 | return(df) 9 | } 10 | o <- lapply(termco.object, function(x){ 11 | if (is.data.frame(x)){ 12 | short.name(x) 13 | } else { 14 | x 15 | } 16 | } 17 | ) 18 | class(o) <- CLASS 19 | return(o) 20 | } 21 | -------------------------------------------------------------------------------- /R/tester.R: -------------------------------------------------------------------------------- 1 | #helper function for termco_d and termco (not exported) 2 | tester <- 3 | function(string, code, type="logical"){ 4 | C <- as.character(substitute(code)) 5 | test <- function(S, x) any(S==x) 6 | x <- sapply(string, function(x)test(x, C)) 7 | if (type=="logical") { 8 | x 9 | } else { 10 | if (type=="numeric") { 11 | which(x) 12 | } else { 13 | stop("type must be logical or numeric") 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /R/unblanker.R: -------------------------------------------------------------------------------- 1 | #internal not exported 2 | #@export 3 | unblanker <- 4 | function(x)subset(x, nchar(x)>0) 5 | -------------------------------------------------------------------------------- /R/visual.R: -------------------------------------------------------------------------------- 1 | #' Generic visual Method 2 | #' 3 | #' Access the visual-graph-plot object from select qdap outputs. 4 | #' 5 | #' @param x A qdap object (list) with a visual-graph-plot object (e.g., 6 | #' \code{\link[qdap]{discourse_map}}). 7 | #' @param \ldots Arguments passed to visual method of other classes. 8 | #' @export 9 | #' @seealso \code{\link[qdap]{scores}}, 10 | #' \code{\link[qdap]{counts}}, 11 | #' \code{\link[qdap]{preprocessed}}, 12 | #' \code{\link[qdap]{proportions}} 13 | #' @return Returns a plot object. 14 | visual <- 15 | function(x, ...){ 16 | UseMethod("visual") 17 | } 18 | -------------------------------------------------------------------------------- /R/words.R: -------------------------------------------------------------------------------- 1 | #internal function (not exported) 2 | words <- 3 | function(x){as.vector(unlist(strsplit(x, " ")))} 4 | -------------------------------------------------------------------------------- /R/xnoy.R: -------------------------------------------------------------------------------- 1 | #Internal function (not exported) 2 | xnoy <- 3 | function(x, y) { 4 | x[!x %in% y] 5 | } 6 | -------------------------------------------------------------------------------- /data/DATA.SPLIT.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/data/DATA.SPLIT.rda -------------------------------------------------------------------------------- /data/DATA.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/data/DATA.rda -------------------------------------------------------------------------------- /data/DATA2.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/data/DATA2.rda -------------------------------------------------------------------------------- /data/env.syl.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/data/env.syl.rda -------------------------------------------------------------------------------- /data/hamlet.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/data/hamlet.rda -------------------------------------------------------------------------------- /data/mraja1.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/data/mraja1.rda -------------------------------------------------------------------------------- /data/mraja1spl.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/data/mraja1spl.rda -------------------------------------------------------------------------------- /data/pres_debate_raw2012.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/data/pres_debate_raw2012.rda -------------------------------------------------------------------------------- /data/pres_debates2012.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/data/pres_debates2012.rda -------------------------------------------------------------------------------- /data/raj.act.1.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/data/raj.act.1.rda -------------------------------------------------------------------------------- /data/raj.act.1POS.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/data/raj.act.1POS.rda -------------------------------------------------------------------------------- /data/raj.act.2.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/data/raj.act.2.rda -------------------------------------------------------------------------------- /data/raj.act.3.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/data/raj.act.3.rda -------------------------------------------------------------------------------- /data/raj.act.4.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/data/raj.act.4.rda -------------------------------------------------------------------------------- /data/raj.act.5.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/data/raj.act.5.rda -------------------------------------------------------------------------------- /data/raj.demographics.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/data/raj.demographics.rda -------------------------------------------------------------------------------- /data/raj.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/data/raj.rda -------------------------------------------------------------------------------- /data/rajPOS.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/data/rajPOS.rda -------------------------------------------------------------------------------- /data/rajSPLIT.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/data/rajSPLIT.rda -------------------------------------------------------------------------------- /data/raw.time.span.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/data/raw.time.span.rda -------------------------------------------------------------------------------- /data/sample.time.span.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/data/sample.time.span.rda -------------------------------------------------------------------------------- /inst/CITATION: -------------------------------------------------------------------------------- 1 | citHeader("To cite qdap in publications, please use:") 2 | 3 | 4 | citEntry(entry = "manual", 5 | title = "{qdap}: {Q}uantitative Discourse Analysis Package", 6 | author = "Tyler W. Rinker", 7 | address = "Buffalo, New York", 8 | note = "2.4.4", 9 | year = "2020", 10 | url = "https://github.com/trinker/qdap", 11 | textVersion = paste("Rinker, T. W. (2020).", 12 | "qdap: Quantitative Discourse Analysis Package.", 13 | "2.4.4. Buffalo, New York.", 14 | "https://github.com/trinker/qdap") 15 | ) -------------------------------------------------------------------------------- /inst/Rmd_vignette/data/polarity.example.rds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/inst/Rmd_vignette/data/polarity.example.rds -------------------------------------------------------------------------------- /inst/Rmd_vignette/data/poldat4.rds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/inst/Rmd_vignette/data/poldat4.rds -------------------------------------------------------------------------------- /inst/Rmd_vignette/data/posbydat.rds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/inst/Rmd_vignette/data/posbydat.rds -------------------------------------------------------------------------------- /inst/Rmd_vignette/data/wfmcor.rds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/inst/Rmd_vignette/data/wfmcor.rds -------------------------------------------------------------------------------- /inst/Rmd_vignette/imgs/data_convert.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/inst/Rmd_vignette/imgs/data_convert.png -------------------------------------------------------------------------------- /inst/Rmd_vignette/imgs/qdaplogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/inst/Rmd_vignette/imgs/qdaplogo.png -------------------------------------------------------------------------------- /inst/Rmd_vignette/imgs/tm_imgs/img1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/inst/Rmd_vignette/imgs/tm_imgs/img1.png -------------------------------------------------------------------------------- /inst/Rmd_vignette/imgs/tm_imgs/img2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/inst/Rmd_vignette/imgs/tm_imgs/img2.png -------------------------------------------------------------------------------- /inst/Rmd_vignette/imgs/tm_imgs/img3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/inst/Rmd_vignette/imgs/tm_imgs/img3.png -------------------------------------------------------------------------------- /inst/Rmd_vignette/imgs/tm_imgs/img4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/inst/Rmd_vignette/imgs/tm_imgs/img4.png -------------------------------------------------------------------------------- /inst/Rmd_vignette/qdap_vignette.Rproj: -------------------------------------------------------------------------------- 1 | Version: 1.0 2 | 3 | RestoreWorkspace: Default 4 | SaveWorkspace: Default 5 | AlwaysSaveHistory: Default 6 | 7 | EnableCodeIndexing: Yes 8 | UseSpacesForTab: No 9 | NumSpacesForTab: 4 10 | Encoding: UTF-8 11 | 12 | RnwWeave: knitr 13 | LaTeX: pdfLaTeX 14 | -------------------------------------------------------------------------------- /inst/build.R: -------------------------------------------------------------------------------- 1 | root <- Sys.getenv("USERPROFILE") 2 | pack <- basename(getwd()) 3 | 4 | quick <- TRUE 5 | pdf <- FALSE 6 | 7 | unlink(paste0(pack, ".pdf"), recursive = TRUE, force = TRUE) 8 | devtools::document() 9 | devtools::install(quick = quick, build_vignettes = FALSE, dependencies = TRUE, upgrade='never') 10 | 11 | if(pdf){ 12 | path <- find.package(pack) 13 | system(paste(shQuote(file.path(R.home("bin"), "R")), "CMD", "Rd2pdf", shQuote(path))) 14 | file.copy(paste0(pack, '.pdf'), file.path(root,"Desktop", paste0(pack, '.pdf'))) 15 | while (file.exists(paste0(pack, ".pdf"))) {unlink(paste0(pack, ".pdf"), recursive = TRUE, force = TRUE)} 16 | empts <- grep("^\\.Rd", dir(all.files = TRUE), value = TRUE) 17 | unlink(empts, recursive = TRUE, force = TRUE) 18 | } 19 | 20 | message("Done!") -------------------------------------------------------------------------------- /inst/demos/discoursemap/example.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/inst/demos/discoursemap/example.pdf -------------------------------------------------------------------------------- /inst/demos/qdap_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/inst/demos/qdap_logo.png -------------------------------------------------------------------------------- /inst/demos/timespan.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/inst/demos/timespan.pdf -------------------------------------------------------------------------------- /inst/demos/transcript.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/inst/demos/transcript.pdf -------------------------------------------------------------------------------- /inst/extdata/docs/PROJECT_WORKFLOW_GUIDE.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/inst/extdata/docs/PROJECT_WORKFLOW_GUIDE.pdf -------------------------------------------------------------------------------- /inst/extdata/docs/TEMP.txt: -------------------------------------------------------------------------------- 1 | Version: 1.0 2 | 3 | RestoreWorkspace: Default 4 | SaveWorkspace: Default 5 | AlwaysSaveHistory: Default 6 | 7 | EnableCodeIndexing: Yes 8 | UseSpacesForTab: No 9 | NumSpacesForTab: 4 10 | Encoding: UTF-8 11 | 12 | RnwWeave: knitr 13 | LaTeX: pdfLaTeX 14 | -------------------------------------------------------------------------------- /inst/extdata/docs/report_1.rnw: -------------------------------------------------------------------------------- 1 | %NOTE: The user will need to re-run biber on files after compiling in RStudio 2 | \input{preamble} 3 | \begin{document} 4 | %load packages that will be invisible on slides 5 | <>= 6 | libs <- c("qdap", "ggplot2", "reshape2", "gridExtra", "tables", "xtable") 7 | lapply(libs, library, character = TRUE) 8 | save <- booktabs() 9 | 10 | opts_chunk$set(fig.path='figure', fig.align='center', fig.show='hold') 11 | options(replace.assign=TRUE,width=90) 12 | @ 13 | 14 | \title{Report} 15 | \shorttitle{} 16 | \author{} 17 | \date{\today} 18 | \maketitle 19 | 20 | \section{} 21 | 22 | 23 | \nocite{Rinker} 24 | \nocite{R} 25 | %======================= 26 | % Bibliography 27 | %======================= 28 | \clearpage 29 | \printbibliography 30 | \end{document} 31 | -------------------------------------------------------------------------------- /inst/extdata/transcripts/trans1.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/inst/extdata/transcripts/trans1.docx -------------------------------------------------------------------------------- /inst/extdata/transcripts/trans2.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/inst/extdata/transcripts/trans2.docx -------------------------------------------------------------------------------- /inst/extdata/transcripts/trans3.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/inst/extdata/transcripts/trans3.docx -------------------------------------------------------------------------------- /inst/extdata/transcripts/trans4.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/inst/extdata/transcripts/trans4.xlsx -------------------------------------------------------------------------------- /inst/pdf_gen/.gitignore: -------------------------------------------------------------------------------- 1 | PROJECT_WORKFLOW_GUIDE-concordance.tex 2 | PROJECT_WORKFLOW_GUIDE.log 3 | PROJECT_WORKFLOW_GUIDE.synctex.gz 4 | PROJECT_WORKFLOW_GUIDE.tex 5 | -------------------------------------------------------------------------------- /inst/pdf_gen/PROJECT_WORKFLOW_GUIDE-concordance.tex: -------------------------------------------------------------------------------- 1 | \Sconcordance{concordance:PROJECT_WORKFLOW_GUIDE.tex:PROJECT_WORKFLOW_GUIDE.rnw:% 2 | 1 85 1 50 0} 3 | -------------------------------------------------------------------------------- /inst/pdf_gen/PROJECT_WORKFLOW_GUIDE.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/inst/pdf_gen/PROJECT_WORKFLOW_GUIDE.pdf -------------------------------------------------------------------------------- /inst/polarity/negative.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/inst/polarity/negative.txt -------------------------------------------------------------------------------- /inst/qdap_Demonstration/NOTES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/inst/qdap_Demonstration/NOTES -------------------------------------------------------------------------------- /inst/qdap_Demonstration/OUTLINE/outline.tex: -------------------------------------------------------------------------------- 1 | \input{preamble} 2 | \begin{document} 3 | \maketitle 4 | \section{Report Overview} 5 | \section{Outline} 6 | \begin{outline}[enumerate] 7 | \1 Level 1 8 | \2 Level 2 9 | \3 Level 3 10 | \4 Level 4 11 | \end{outline} 12 | \end{document} 13 | -------------------------------------------------------------------------------- /inst/qdap_Demonstration/OUTLINE/preamble.tex: -------------------------------------------------------------------------------- 1 | \documentclass{article} 2 | \usepackage{outlines} 3 | \usepackage{enumitem} 4 | \setenumerate[1]{label=\Roman*.} 5 | \setenumerate[2]{label=\Alph*.} 6 | \setenumerate[3]{label=\roman*.} 7 | \setenumerate[4]{label=\alph*.} 8 | \addtolength{\oddsidemargin}{-.875in} 9 | \addtolength{\evensidemargin}{-.875in} 10 | \addtolength{\textwidth}{1.75in} 11 | \addtolength{\topmargin}{-1in} 12 | \addtolength{\textheight}{1.75in} 13 | \title{Outline} 14 | -------------------------------------------------------------------------------- /inst/qdap_Demonstration/PRESENTATION/MASTER.bib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/inst/qdap_Demonstration/PRESENTATION/MASTER.bib -------------------------------------------------------------------------------- /inst/qdap_Demonstration/PRESENTATION/local_host.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | cd C:/Users/trinker/Desktop/qdap_Demonstration/PRESENTATION 3 | START /B python -m SimpleHTTPServer 4 | SLEEP 3 5 | START http://localhost:8000/ -------------------------------------------------------------------------------- /inst/qdap_Demonstration/PRESENTATION/pos.RData: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/inst/qdap_Demonstration/PRESENTATION/pos.RData -------------------------------------------------------------------------------- /inst/qdap_Demonstration/PRESENTATION_WORKFLOW_GUIDE.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/inst/qdap_Demonstration/PRESENTATION_WORKFLOW_GUIDE.pdf -------------------------------------------------------------------------------- /inst/qdap_Demonstration/TO_DO: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/inst/qdap_Demonstration/TO_DO -------------------------------------------------------------------------------- /inst/qdap_Demonstration/extra_functions.R: -------------------------------------------------------------------------------- 1 | #Source the following project functions on startup -------------------------------------------------------------------------------- /man/Animate.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/Animate.R 3 | \name{Animate} 4 | \alias{Animate} 5 | \title{Generic Animate Method} 6 | \usage{ 7 | Animate(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{An animatable qdap object (e.g., \code{\link[qdap]{discourse_map}}).} 11 | 12 | \item{\ldots}{Arguments passed to Animate method of other classes.} 13 | } 14 | \value{ 15 | Returns a plot object. 16 | } 17 | \description{ 18 | Animate select qdap objects. 19 | } 20 | \seealso{ 21 | \code{\link[qdap]{scores}}, 22 | \code{\link[qdap]{counts}}, 23 | \code{\link[qdap]{preprocessed}}, 24 | \code{\link[qdap]{proportions}} 25 | } 26 | -------------------------------------------------------------------------------- /man/DATA.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/qdap-package.R 3 | \docType{data} 4 | \name{DATA} 5 | \alias{DATA} 6 | \title{Fictitious Classroom Dialogue} 7 | \format{ 8 | A data frame with 11 rows and 5 variables 9 | } 10 | \usage{ 11 | data(DATA) 12 | } 13 | \description{ 14 | A fictitious dataset useful for small demonstrations. 15 | } 16 | \details{ 17 | \itemize{ 18 | \item person. Speaker 19 | \item sex. Gender 20 | \item adult. Dummy coded adult (0-no; 1-yes) 21 | \item state. Statement (dialogue) 22 | \item code. Dialogue coding scheme 23 | } 24 | } 25 | \keyword{datasets} 26 | -------------------------------------------------------------------------------- /man/DATA.SPLIT.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/qdap-package.R 3 | \docType{data} 4 | \name{DATA.SPLIT} 5 | \alias{DATA.SPLIT} 6 | \title{Fictitious Split Sentence Classroom Dialogue} 7 | \format{ 8 | A data frame with 15 rows and 8 variables 9 | } 10 | \usage{ 11 | data(DATA.SPLIT) 12 | } 13 | \description{ 14 | A \code{\link[qdap]{sentSplit}} version of the \code{\link[qdap]{DATA}} 15 | dataset. 16 | } 17 | \details{ 18 | \itemize{ 19 | \item person. Speaker 20 | \item tot. Turn of talk with sub sentences 21 | \item TOT. Turn of talk 22 | \item sex. Gender 23 | \item adult. Dummy coded adult (0-no; 1-yes) 24 | \item code. Dialogue coding scheme 25 | \item state. Statement (dialogue) 26 | \item stem.text. A stemmed version of the text.var 27 | } 28 | } 29 | \keyword{datasets} 30 | -------------------------------------------------------------------------------- /man/DATA2.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/qdap-package.R 3 | \docType{data} 4 | \name{DATA2} 5 | \alias{DATA2} 6 | \title{Fictitious Repeated Measures Classroom Dialogue} 7 | \format{ 8 | A data frame with 74 rows and 7 variables 9 | } 10 | \usage{ 11 | data(DATA2) 12 | } 13 | \description{ 14 | A repeated measures version of the \code{\link[qdap]{DATA}} dataset. 15 | } 16 | \details{ 17 | \itemize{ 18 | \item day. Day of observation 19 | \item class. Class period/subject of observation 20 | \item person. Speaker 21 | \item sex. Gender 22 | \item adult. Dummy coded adult (0-no; 1-yes) 23 | \item state. Statement (dialogue) 24 | \item code. Dialogue coding scheme 25 | } 26 | } 27 | \keyword{datasets} 28 | -------------------------------------------------------------------------------- /man/NAer.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/NAer.R 3 | \name{NAer} 4 | \alias{NAer} 5 | \title{Replace Missing Values (NA)} 6 | \usage{ 7 | NAer(x, replace = 0) 8 | } 9 | \arguments{ 10 | \item{x}{A vector or dataframe with missing values (\code{NA}).} 11 | 12 | \item{replace}{The value to replace missing values (\code{NA}) with.} 13 | } 14 | \value{ 15 | Returns a vector or dataframe with missing values replaced. 16 | } 17 | \description{ 18 | Replace missing values (\code{NA}) in a vector or dataframe. 19 | } 20 | \examples{ 21 | \dontrun{ 22 | set.seed(10) 23 | (x <- sample(c(rep(NA, 4), 1:10), 20, rep=T)) 24 | NAer(x) 25 | 26 | set.seed(10) 27 | (y <- data.frame(matrix(x, 5, 4)) ) 28 | NAer(y) 29 | NAer(y, "MISSING") 30 | } 31 | } 32 | \keyword{missing-value} 33 | -------------------------------------------------------------------------------- /man/Network.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/Network.R 3 | \name{Network} 4 | \alias{Network} 5 | \title{Generic Network Method} 6 | \usage{ 7 | Network(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{A select qdap object.} 11 | 12 | \item{\ldots}{Arguments passed to Network method of other classes.} 13 | } 14 | \value{ 15 | Returns a network plot. 16 | } 17 | \description{ 18 | Create a network plot for select qdap outputs. 19 | } 20 | -------------------------------------------------------------------------------- /man/Title.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/Title.R 3 | \name{Title} 4 | \alias{Title} 5 | \alias{Title<-} 6 | \title{Add Title to Select qdap Plots} 7 | \usage{ 8 | Title(object) 9 | 10 | Title(object) <- value 11 | } 12 | \arguments{ 13 | \item{object}{A select qdap object that stores a plot.} 14 | 15 | \item{value}{The value to assign to title.} 16 | } 17 | \description{ 18 | Add title to select qdap objects that store a plot. 19 | } 20 | \keyword{title} 21 | -------------------------------------------------------------------------------- /man/Trim.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/Trim.R 3 | \name{Trim} 4 | \alias{Trim} 5 | \title{Remove Leading/Trailing White Space} 6 | \usage{ 7 | Trim(x) 8 | } 9 | \arguments{ 10 | \item{x}{The text variable.} 11 | } 12 | \value{ 13 | Returns a vector with the leading/trailing white spaces removed. 14 | } 15 | \description{ 16 | Remove leading/trailing white space. 17 | } 18 | \examples{ 19 | \dontrun{ 20 | (x <- c(" talkstats.com ", " really? ", " yeah")) 21 | Trim(x) 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /man/addNetwork.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/Network.R 3 | \name{+.Network} 4 | \alias{+.Network} 5 | \title{Add themes to a Network object.} 6 | \usage{ 7 | \method{+}{Network}(Network.obj, x) 8 | } 9 | \arguments{ 10 | \item{Network.obj}{An object of class \code{Network}.} 11 | 12 | \item{x}{A component to add to \code{Network.obj}} 13 | } 14 | \description{ 15 | This operator allows you to add themes to a Network object. 16 | } 17 | -------------------------------------------------------------------------------- /man/add_incomplete.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/add_incomplete.R 3 | \name{add_incomplete} 4 | \alias{add_incomplete} 5 | \title{Detect Incomplete Sentences; Add | Endmark} 6 | \usage{ 7 | add_incomplete(text.var, endmarks = "[.?|!]+$", silent = FALSE) 8 | } 9 | \arguments{ 10 | \item{text.var}{The text variable.} 11 | 12 | \item{endmarks}{A reguar expression to check for endmarks.} 13 | 14 | \item{silent}{logical. If \code{TRUE} messages are not printed out.} 15 | } 16 | \value{ 17 | Returns a vector with missing endmarks replaced with \code{|}. 18 | } 19 | \description{ 20 | Automatically detect missing endmarks and replace with the \code{|} endmark 21 | symbol to indicate an incomplete sentence. 22 | } 23 | \examples{ 24 | add_incomplete( 25 | c( 26 | "This in a", 27 | "I am funny!", 28 | "An ending of sorts\%", 29 | "What do you want?" 30 | ) 31 | ) 32 | } 33 | \keyword{endmark} 34 | -------------------------------------------------------------------------------- /man/add_s.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/add_s.R 3 | \name{add_s} 4 | \alias{add_s} 5 | \title{Make Plural (or Verb to Singular) Versions of Words} 6 | \usage{ 7 | add_s(x, keep.original = TRUE) 8 | } 9 | \arguments{ 10 | \item{x}{A vector of words to make plural.} 11 | 12 | \item{keep.original}{logical. If \code{TRUE} the original words are kept in 13 | the return vector.} 14 | } 15 | \value{ 16 | Returns a vector of plural words. 17 | } 18 | \description{ 19 | Add -s, -es, or -ies to words. 20 | } 21 | \examples{ 22 | set.seed(10) 23 | add_s(sample(GradyAugmented, 10)) 24 | set.seed(10) 25 | add_s(sample(GradyAugmented, 10), FALSE) 26 | } 27 | \keyword{plural} 28 | -------------------------------------------------------------------------------- /man/blank2NA.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/blank2NA.R 3 | \name{blank2NA} 4 | \alias{blank2NA} 5 | \title{Replace Blanks in a dataframe} 6 | \usage{ 7 | blank2NA(dataframe, missing = NA) 8 | } 9 | \arguments{ 10 | \item{dataframe}{A dataframe with blank (empty) cells.} 11 | 12 | \item{missing}{Value to replace empty cells with.} 13 | } 14 | \value{ 15 | Returns a data frame with blank spaces replaced. 16 | } 17 | \description{ 18 | Replaces blank (empty) cells in a dataframe. Generally, for internal use. 19 | } 20 | \examples{ 21 | \dontrun{ 22 | set.seed(15) 23 | dat <- data.frame(matrix(sample(c(month.abb[1:4], ""), 50, TRUE), 24 | 10, byrow = TRUE), stringsAsFactors = FALSE) 25 | 26 | dat 27 | blank2NA(dat) 28 | } 29 | } 30 | \seealso{ 31 | \code{\link[qdap]{rm_row}} 32 | } 33 | -------------------------------------------------------------------------------- /man/clean.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/clean.R 3 | \name{clean} 4 | \alias{clean} 5 | \title{Remove Escaped Characters} 6 | \usage{ 7 | clean(text.var) 8 | } 9 | \arguments{ 10 | \item{text.var}{The text variable} 11 | } 12 | \value{ 13 | Returns a vector of character strings with escaped characters removed. 14 | } 15 | \description{ 16 | Preprocess data to remove escaped characters 17 | } 18 | \examples{ 19 | \dontrun{ 20 | x <- "I go \\\\r 21 | to the \\\\tnext line" 22 | x 23 | clean(x) 24 | } 25 | } 26 | \keyword{character} 27 | \keyword{escaped} 28 | -------------------------------------------------------------------------------- /man/comma_spacer.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/comma_spacer.R 3 | \name{comma_spacer} 4 | \alias{comma_spacer} 5 | \title{Ensure Space After Comma} 6 | \usage{ 7 | comma_spacer(text.var) 8 | } 9 | \arguments{ 10 | \item{text.var}{The text variable.} 11 | } 12 | \value{ 13 | Returns a vector of strings with commas that have a space after them. 14 | } 15 | \description{ 16 | Adds a space after a comma as strip and many other functions may consider a 17 | comma separated string as one word (i.e., \code{"one,two,three"} becomes 18 | \code{"onetwothree"} rather than \code{"one two three"}). 19 | } 20 | \examples{ 21 | \dontrun{ 22 | x <- c("the, dog,went", "I,like,it", "where are you", NA, "why", ",", ",f") 23 | comma_spacer(x) 24 | } 25 | } 26 | \keyword{comma} 27 | \keyword{space} 28 | -------------------------------------------------------------------------------- /man/common.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/common.R 3 | \name{common} 4 | \alias{common} 5 | \title{Find Common Words Between Groups} 6 | \usage{ 7 | common(word.list, overlap = "all", equal.or = "more", ...) 8 | } 9 | \arguments{ 10 | \item{word.list}{A list of named character vectors.} 11 | 12 | \item{overlap}{Minimum/exact amount of overlap.} 13 | 14 | \item{equal.or}{A character vector of c(\code{"equal"}, \code{"greater"}, 15 | \code{"more"}, \code{"less"}).} 16 | 17 | \item{\dots}{In lieu of \code{word.list} the user may input n number of 18 | character vectors.} 19 | } 20 | \value{ 21 | Returns a dataframe of all words that match the criteria set by 22 | \code{overlap} and \code{equal.or}. 23 | } 24 | \description{ 25 | Find common words between grouping variables (e.g., people). 26 | } 27 | -------------------------------------------------------------------------------- /man/common.list.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/common.R 3 | \name{common.list} 4 | \alias{common.list} 5 | \title{list Method for common} 6 | \usage{ 7 | \method{common}{list}(word.list, overlap = "all", equal.or = "more", ...) 8 | } 9 | \arguments{ 10 | \item{word.list}{A list of names character vectors.} 11 | 12 | \item{overlap}{Minimum/exact amount of overlap.} 13 | 14 | \item{equal.or}{A character vector of c(\code{"equal"}, \code{"greater"}, 15 | \code{"more"}, \code{"less"}).} 16 | 17 | \item{\dots}{In lieu of word.list the user may input n number of character 18 | vectors.} 19 | } 20 | \description{ 21 | list Method for common 22 | } 23 | -------------------------------------------------------------------------------- /man/condense.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/condense.R 3 | \name{condense} 4 | \alias{condense} 5 | \title{Condense Dataframe Columns} 6 | \usage{ 7 | condense(dataframe, sep = ", ") 8 | } 9 | \arguments{ 10 | \item{dataframe}{A dataframe with a column(s) that are a list of vectors.} 11 | 12 | \item{sep}{A character string to separate the terms.} 13 | } 14 | \value{ 15 | Returns a dataframe with condensed columns that can be wrote to 16 | csv/xlsx. 17 | } 18 | \description{ 19 | Condense dataframe columns that are a list of vectors to a single vector of 20 | strings. 21 | } 22 | \examples{ 23 | \dontrun{ 24 | library(qdap) 25 | poldat <- with(DATA.SPLIT, polarity(state, person)) 26 | write.csv(x = condense(counts(poldat)), file = "foo.csv") 27 | } 28 | } 29 | \seealso{ 30 | \code{\link[qdap]{mcsv_w}} 31 | } 32 | -------------------------------------------------------------------------------- /man/counts.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/counts.R 3 | \name{counts} 4 | \alias{counts} 5 | \title{Generic Counts Method} 6 | \usage{ 7 | counts(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{A qdap object (list) with a count dataframe (e.g., 11 | \code{\link[qdap]{fry}}).} 12 | 13 | \item{\ldots}{Arguments passed to counts method of other classes.} 14 | } 15 | \value{ 16 | Returns a data.frame of counts. 17 | } 18 | \description{ 19 | Access the count dataframes from select qdap outputs. 20 | } 21 | \seealso{ 22 | \code{\link[qdap]{scores}}, 23 | \code{\link[qdap]{proportions}}, 24 | \code{\link[qdap]{preprocessed}}, 25 | \code{\link[qdap]{visual}} 26 | } 27 | -------------------------------------------------------------------------------- /man/counts.SMOG.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/automated_readability_index.R 3 | \name{counts.SMOG} 4 | \alias{counts.SMOG} 5 | \title{Readability Measures} 6 | \usage{ 7 | \method{counts}{SMOG}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The SMOG object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | \code{counts.SMOG} - View counts from \code{\link[qdap]{SMOG}}. 16 | } 17 | \details{ 18 | SMOG Method for counts. 19 | } 20 | -------------------------------------------------------------------------------- /man/counts.automated_readability_index.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/automated_readability_index.R 3 | \name{counts.automated_readability_index} 4 | \alias{counts.automated_readability_index} 5 | \title{Readability Measures} 6 | \usage{ 7 | \method{counts}{automated_readability_index}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The automated_readability_index object.} 11 | 12 | \item{\ldots}{ignored 13 | automated_readability_index Method for counts.} 14 | } 15 | \description{ 16 | \code{counts.automated_readability_index} - View counts from \code{\link[qdap]{automated_readability_index}}. 17 | } 18 | -------------------------------------------------------------------------------- /man/counts.character_table.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/word_count.R 3 | \name{counts.character_table} 4 | \alias{counts.character_table} 5 | \title{Term Counts} 6 | \usage{ 7 | \method{counts}{character_table}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The \code{\link[qdap]{character_table}} object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View character_table counts. 16 | } 17 | \details{ 18 | character_table Method for counts 19 | } 20 | -------------------------------------------------------------------------------- /man/counts.coleman_liau.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/automated_readability_index.R 3 | \name{counts.coleman_liau} 4 | \alias{counts.coleman_liau} 5 | \title{Readability Measures} 6 | \usage{ 7 | \method{counts}{coleman_liau}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The coleman_liau object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | \code{counts.coleman_liau} - View counts from \code{\link[qdap]{coleman_liau}}. 16 | } 17 | \details{ 18 | coleman_liau Method for counts. 19 | } 20 | -------------------------------------------------------------------------------- /man/counts.end_mark_by.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/end_mark.R 3 | \name{counts.end_mark_by} 4 | \alias{counts.end_mark_by} 5 | \title{Question Counts} 6 | \usage{ 7 | \method{counts}{end_mark_by}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The \code{\link[qdap]{end_mark_by}} object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View end_mark_by counts. 16 | } 17 | \details{ 18 | end_mark_by Method for counts 19 | } 20 | -------------------------------------------------------------------------------- /man/counts.flesch_kincaid.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/automated_readability_index.R 3 | \name{counts.flesch_kincaid} 4 | \alias{counts.flesch_kincaid} 5 | \title{Readability Measures} 6 | \usage{ 7 | \method{counts}{flesch_kincaid}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The flesch_kincaid object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | \code{counts.flesch_kincaid} - View counts from \code{\link[qdap]{flesch_kincaid}}. 16 | } 17 | \details{ 18 | flesch_kincaid Method for counts. 19 | } 20 | -------------------------------------------------------------------------------- /man/counts.formality.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/formality.R 3 | \name{counts.formality} 4 | \alias{counts.formality} 5 | \title{Formality} 6 | \usage{ 7 | \method{counts}{formality}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The \code{\link[qdap]{formality}} object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View formality counts. 16 | } 17 | \details{ 18 | formality Method for counts 19 | } 20 | -------------------------------------------------------------------------------- /man/counts.fry.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/automated_readability_index.R 3 | \name{counts.fry} 4 | \alias{counts.fry} 5 | \title{Readability Measures} 6 | \usage{ 7 | \method{counts}{fry}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The fry object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | \code{counts.fry} - View counts from \code{\link[qdap]{fry}}. 16 | } 17 | \details{ 18 | fry Method for counts. 19 | } 20 | -------------------------------------------------------------------------------- /man/counts.linsear_write.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/automated_readability_index.R 3 | \name{counts.linsear_write} 4 | \alias{counts.linsear_write} 5 | \title{Readability Measures} 6 | \usage{ 7 | \method{counts}{linsear_write}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The linsear_write object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | \code{counts.linsear_write} - View counts from \code{\link[qdap]{linsear_write}}. 16 | } 17 | \details{ 18 | linsear_write Method for counts. 19 | } 20 | -------------------------------------------------------------------------------- /man/counts.object_pronoun_type.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/object_pronoun_type.R 3 | \name{counts.object_pronoun_type} 4 | \alias{counts.object_pronoun_type} 5 | \title{Question Counts} 6 | \usage{ 7 | \method{counts}{object_pronoun_type}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The \code{\link[qdap]{object_pronoun_type}} object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View object_pronoun_type counts. 16 | } 17 | \details{ 18 | object_pronoun_type Method for counts 19 | } 20 | -------------------------------------------------------------------------------- /man/counts.polarity.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/polarity.R 3 | \name{counts.polarity} 4 | \alias{counts.polarity} 5 | \title{Polarity} 6 | \usage{ 7 | \method{counts}{polarity}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The polarity object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | \code{counts.polarity} - View counts from \code{\link[qdap]{polarity}}. 16 | } 17 | \details{ 18 | polarity Method for counts. 19 | } 20 | -------------------------------------------------------------------------------- /man/counts.pos.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/pos.R 3 | \name{counts.pos} 4 | \alias{counts.pos} 5 | \title{Parts of Speech} 6 | \usage{ 7 | \method{counts}{pos}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The \code{\link[qdap]{pos}} object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View pos counts. 16 | } 17 | \details{ 18 | pos Method for counts 19 | } 20 | -------------------------------------------------------------------------------- /man/counts.pos_by.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/pos.R 3 | \name{counts.pos_by} 4 | \alias{counts.pos_by} 5 | \title{Parts of Speech} 6 | \usage{ 7 | \method{counts}{pos_by}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The \code{\link[qdap]{pos_by}} object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View pos_by counts. 16 | } 17 | \details{ 18 | pos_by Method for counts 19 | } 20 | -------------------------------------------------------------------------------- /man/counts.pronoun_type.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/pronoun_type.R 3 | \name{counts.pronoun_type} 4 | \alias{counts.pronoun_type} 5 | \title{Question Counts} 6 | \usage{ 7 | \method{counts}{pronoun_type}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The \code{\link[qdap]{pronoun_type}} object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View pronoun_type counts. 16 | } 17 | \details{ 18 | pronoun_type Method for counts 19 | } 20 | -------------------------------------------------------------------------------- /man/counts.question_type.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/question_type.R 3 | \name{counts.question_type} 4 | \alias{counts.question_type} 5 | \title{Question Counts} 6 | \usage{ 7 | \method{counts}{question_type}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The \code{\link[qdap]{question_type}} object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View question_type counts. 16 | } 17 | \details{ 18 | question_type Method for counts 19 | } 20 | -------------------------------------------------------------------------------- /man/counts.subject_pronoun_type.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/subject_pronoun_type.R 3 | \name{counts.subject_pronoun_type} 4 | \alias{counts.subject_pronoun_type} 5 | \title{Question Counts} 6 | \usage{ 7 | \method{counts}{subject_pronoun_type}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The \code{\link[qdap]{subject_pronoun_type}} object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View subject_pronoun_type counts. 16 | } 17 | \details{ 18 | subject_pronoun_type Method for counts 19 | } 20 | -------------------------------------------------------------------------------- /man/counts.termco.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/termco.R 3 | \name{counts.termco} 4 | \alias{counts.termco} 5 | \title{Term Counts} 6 | \usage{ 7 | \method{counts}{termco}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The \code{\link[qdap]{termco}} object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View termco counts. 16 | } 17 | \details{ 18 | termco Method for counts 19 | } 20 | -------------------------------------------------------------------------------- /man/counts.word_length.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/word_length.R 3 | \name{counts.word_length} 4 | \alias{counts.word_length} 5 | \title{Word Length Counts} 6 | \usage{ 7 | \method{counts}{word_length}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The \code{\link[qdap]{word_length}} object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View word_length counts. 16 | } 17 | \details{ 18 | word_length Method for counts 19 | } 20 | -------------------------------------------------------------------------------- /man/counts.word_position.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/word_position.R 3 | \name{counts.word_position} 4 | \alias{counts.word_position} 5 | \title{Word Position} 6 | \usage{ 7 | \method{counts}{word_position}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The \code{\link[qdap]{word_position}} object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View word_position counts. 16 | } 17 | \details{ 18 | word_position Method for counts 19 | } 20 | -------------------------------------------------------------------------------- /man/counts.word_stats.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/word_stats.R 3 | \name{counts.word_stats} 4 | \alias{counts.word_stats} 5 | \title{Word Stats} 6 | \usage{ 7 | \method{counts}{word_stats}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The \code{\link[qdap]{word_stats}} object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View word_stats counts. 16 | } 17 | \details{ 18 | word_stats Method for counts 19 | } 20 | -------------------------------------------------------------------------------- /man/duplicates.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/duplicates.R 3 | \name{duplicates} 4 | \alias{duplicates} 5 | \title{Find Duplicated Words in a Text String} 6 | \usage{ 7 | duplicates(string, threshold = 1) 8 | } 9 | \arguments{ 10 | \item{string}{A character string.} 11 | 12 | \item{threshold}{An integer of the minimal number of repeats.} 13 | } 14 | \value{ 15 | Returns a vector of all duplicated words/chunks. 16 | } 17 | \description{ 18 | Find duplicated word/word chunks in a string. Intended for internal use. 19 | } 20 | \examples{ 21 | \dontrun{ 22 | duplicates(DATA$state) 23 | duplicates(DATA$state[1]) 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /man/env.syl.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/qdap-package.R 3 | \docType{data} 4 | \name{env.syl} 5 | \alias{env.syl} 6 | \title{Syllable Lookup Environment} 7 | \format{ 8 | A environment with the DICTIONARY data set. 9 | } 10 | \usage{ 11 | data(env.syl) 12 | } 13 | \description{ 14 | A dataset containing a syllable lookup environment (see \code{DICTIONARY}). 15 | } 16 | \details{ 17 | For internal use. 18 | } 19 | \references{ 20 | \href{http://archive.ics.uci.edu/ml/machine-learning-databases/undocumented/connectionist-bench/nettalk/}{UCI Machine Learning Repository website} 21 | } 22 | \keyword{datasets} 23 | -------------------------------------------------------------------------------- /man/hamlet.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/qdap-package.R 3 | \docType{data} 4 | \name{hamlet} 5 | \alias{hamlet} 6 | \title{Hamlet (Complete & Split by Sentence)} 7 | \format{ 8 | A data frame with 2007 rows and 7 variables 9 | } 10 | \usage{ 11 | data(hamlet) 12 | } 13 | \description{ 14 | A dataset containing the complete dialogue of Hamlet with turns of talk split 15 | into sentences. 16 | } 17 | \details{ 18 | \itemize{ 19 | \item act. The act (akin to repeated measures) 20 | \item tot. The turn of talk 21 | \item scene. The scene (nested within an act) 22 | \item location. Location of the scene 23 | \item person. Character in the play 24 | \item died. Logical coded death variable if yes the character dies in the 25 | play 26 | \item dialogue. The spoken dialogue 27 | } 28 | } 29 | \references{ 30 | http://www.gutenberg.org 31 | } 32 | \keyword{datasets} 33 | -------------------------------------------------------------------------------- /man/mraja1.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/qdap-package.R 3 | \docType{data} 4 | \name{mraja1} 5 | \alias{mraja1} 6 | \title{Romeo and Juliet: Act 1 Dialogue Merged with Demographics} 7 | \format{ 8 | A data frame with 235 rows and 5 variables 9 | } 10 | \usage{ 11 | data(mraja1) 12 | } 13 | \description{ 14 | A dataset containing act 1 of Romeo and Juliet with demographic information. 15 | } 16 | \details{ 17 | \itemize{ 18 | \item person. Character in the play 19 | \item sex. Gender 20 | \item fam.aff. Family affiliation of character 21 | \item died. Dummy coded death variable (0-no; 1-yes); if yes the character 22 | dies in the play 23 | \item dialogue. The spoken dialogue 24 | } 25 | } 26 | \references{ 27 | \url{http://shakespeare.mit.edu/romeo_juliet/full.html} 28 | } 29 | \keyword{datasets} 30 | -------------------------------------------------------------------------------- /man/mraja1spl.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/qdap-package.R 3 | \docType{data} 4 | \name{mraja1spl} 5 | \alias{mraja1spl} 6 | \title{Romeo and Juliet: Act 1 Dialogue Merged with Demographics and Split} 7 | \format{ 8 | A data frame with 508 rows and 7 variables 9 | } 10 | \usage{ 11 | data(mraja1spl) 12 | } 13 | \description{ 14 | A dataset containing act 1 of Romeo and Juliet with demographic information 15 | and turns of talk split into sentences. 16 | } 17 | \details{ 18 | \itemize{ 19 | \item person. Character in the play 20 | \item tot. 21 | \item sex. Gender 22 | \item fam.aff. Family affiliation of character 23 | \item died. Dummy coded death variable (0-no; 1-yes); if yes the character 24 | dies in the play 25 | \item dialogue. The spoken dialogue 26 | \item stem.text. 27 | } 28 | } 29 | \references{ 30 | \url{http://shakespeare.mit.edu/romeo_juliet/full.html} 31 | } 32 | \keyword{datasets} 33 | -------------------------------------------------------------------------------- /man/name2sex.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/name2sex.R 3 | \name{name2sex} 4 | \alias{name2sex} 5 | \title{Names to Gender} 6 | \usage{ 7 | name2sex(names.list, USE.NAMES = FALSE, ...) 8 | } 9 | \arguments{ 10 | \item{names.list}{Character vector containing first names.} 11 | 12 | \item{USE.NAMES}{logical. If \code{TRUE} names.list is used to name the 13 | gender vector.} 14 | 15 | \item{\ldots}{Other arguments passed to \code{\link[gender]{gender}}.} 16 | } 17 | \value{ 18 | Returns a vector of predicted gender (M/F) based on first name. 19 | } 20 | \description{ 21 | A wrapper for the \code{\link[gender]{gender}} function used to predict 22 | gender based on first name. 23 | } 24 | \examples{ 25 | \dontrun{ 26 | name2sex(qcv(mary, jenn, linda, JAME, GABRIEL, OLIVA, 27 | tyler, jamie, JAMES, tyrone, cheryl, drew)) 28 | } 29 | } 30 | \seealso{ 31 | \code{\link[gender]{gender}} 32 | } 33 | \keyword{gender} 34 | \keyword{name} 35 | -------------------------------------------------------------------------------- /man/plot.Network.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/Network.R 3 | \name{plot.Network} 4 | \alias{plot.Network} 5 | \title{Plots a Network Object} 6 | \usage{ 7 | \method{plot}{Network}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The Network object.} 11 | 12 | \item{\ldots}{Other arguments passed to \code{print.Network }.} 13 | } 14 | \description{ 15 | Plots a Network object. 16 | } 17 | -------------------------------------------------------------------------------- /man/plot.SMOG.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/automated_readability_index.R 3 | \name{plot.SMOG} 4 | \alias{plot.SMOG} 5 | \title{Plots a SMOG Object} 6 | \usage{ 7 | \method{plot}{SMOG}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The readability_score object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Plots a SMOG object. 16 | } 17 | -------------------------------------------------------------------------------- /man/plot.animated_character.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/Animate.character.R 3 | \name{plot.animated_character} 4 | \alias{plot.animated_character} 5 | \title{Plots an animated_character Object} 6 | \usage{ 7 | \method{plot}{animated_character}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The animated_character object.} 11 | 12 | \item{\ldots}{Other arguments passed to \code{print.animated_character}.} 13 | } 14 | \description{ 15 | Plots an animated_character object. 16 | } 17 | -------------------------------------------------------------------------------- /man/plot.animated_discourse_map.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/discourse_map.R 3 | \name{plot.animated_discourse_map} 4 | \alias{plot.animated_discourse_map} 5 | \title{Plots an animated_discourse_map Object} 6 | \usage{ 7 | \method{plot}{animated_discourse_map}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The animated_discourse_map object.} 11 | 12 | \item{\ldots}{Other arguments passed to \code{print.animated_discourse_map }.} 13 | } 14 | \description{ 15 | Plots an animated_discourse_map object. 16 | } 17 | -------------------------------------------------------------------------------- /man/plot.animated_formality.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/formality.R 3 | \name{plot.animated_formality} 4 | \alias{plot.animated_formality} 5 | \title{Plots a animated_formality Object} 6 | \usage{ 7 | \method{plot}{animated_formality}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The animated_formality object.} 11 | 12 | \item{\ldots}{Other arguments passed to \code{print.animated_formality }.} 13 | } 14 | \description{ 15 | Plots a animated_formality object. 16 | } 17 | -------------------------------------------------------------------------------- /man/plot.animated_lexical_classification.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/lexical_classification.R 3 | \name{plot.animated_lexical_classification} 4 | \alias{plot.animated_lexical_classification} 5 | \title{Plots an animated_lexical_classification Object} 6 | \usage{ 7 | \method{plot}{animated_lexical_classification}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The animated_lexical_classification object.} 11 | 12 | \item{\ldots}{Other arguments passed to \code{print.animated_lexical_classification }.} 13 | } 14 | \description{ 15 | Plots an animated_lexical_classification object. 16 | } 17 | -------------------------------------------------------------------------------- /man/plot.animated_polarity.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/polarity.R 3 | \name{plot.animated_polarity} 4 | \alias{plot.animated_polarity} 5 | \title{Plots an animated_polarity Object} 6 | \usage{ 7 | \method{plot}{animated_polarity}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The animated_polarity object.} 11 | 12 | \item{\ldots}{Other arguments passed to \code{print.animated_polarity }.} 13 | } 14 | \description{ 15 | Plots an animated_polarity object. 16 | } 17 | -------------------------------------------------------------------------------- /man/plot.automated_readability_index.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/automated_readability_index.R 3 | \name{plot.automated_readability_index} 4 | \alias{plot.automated_readability_index} 5 | \title{Plots a automated_readability_index Object} 6 | \usage{ 7 | \method{plot}{automated_readability_index}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The readability_score object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Plots a automated_readability_index object. 16 | } 17 | -------------------------------------------------------------------------------- /man/plot.cmspans.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/plot.cmspans.R 3 | \name{plot.cmspans} 4 | \alias{plot.cmspans} 5 | \title{Plots a cmspans object} 6 | \usage{ 7 | \method{plot}{cmspans}(x, plot.var = NULL, facet.vars = NULL, title = "Gantt Plot", ...) 8 | } 9 | \arguments{ 10 | \item{x}{The sums_cmspans object} 11 | 12 | \item{plot.var}{A factor plotting variable (y axis).} 13 | 14 | \item{facet.vars}{An optional single vector or list of 1 or 2 to facet by.} 15 | 16 | \item{title}{An optional title.} 17 | 18 | \item{\ldots}{Other arguments passed to \code{gantt_wrap}.} 19 | } 20 | \description{ 21 | Plots a cmspans object. 22 | } 23 | -------------------------------------------------------------------------------- /man/plot.coleman_liau.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/automated_readability_index.R 3 | \name{plot.coleman_liau} 4 | \alias{plot.coleman_liau} 5 | \title{Plots a coleman_liau Object} 6 | \usage{ 7 | \method{plot}{coleman_liau}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The readability_score object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Plots a coleman_liau object. 16 | } 17 | -------------------------------------------------------------------------------- /man/plot.combo_syllable_sum.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/syllable_sum.R 3 | \name{plot.combo_syllable_sum} 4 | \alias{plot.combo_syllable_sum} 5 | \title{Plots a combo_syllable_sum Object} 6 | \usage{ 7 | \method{plot}{combo_syllable_sum}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The combo_syllable_sum object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Plots a combo_syllable_sum object. 16 | } 17 | -------------------------------------------------------------------------------- /man/plot.cumulative_animated_formality.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/formality.R 3 | \name{plot.cumulative_animated_formality} 4 | \alias{plot.cumulative_animated_formality} 5 | \title{Plots a cumulative_animated_formality Object} 6 | \usage{ 7 | \method{plot}{cumulative_animated_formality}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The cumulative_animated_formality object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Plots a cumulative_animated_formality object. 16 | } 17 | -------------------------------------------------------------------------------- /man/plot.cumulative_animated_lexical_classification.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/lexical_classification.R 3 | \name{plot.cumulative_animated_lexical_classification} 4 | \alias{plot.cumulative_animated_lexical_classification} 5 | \title{Plots a cumulative_animated_lexical_classification Object} 6 | \usage{ 7 | \method{plot}{cumulative_animated_lexical_classification}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The cumulative_animated_lexical_classification object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Plots a cumulative_animated_lexical_classification object. 16 | } 17 | -------------------------------------------------------------------------------- /man/plot.cumulative_animated_polarity.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/polarity.R 3 | \name{plot.cumulative_animated_polarity} 4 | \alias{plot.cumulative_animated_polarity} 5 | \title{Plots a cumulative_animated_polarity Object} 6 | \usage{ 7 | \method{plot}{cumulative_animated_polarity}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The cumulative_animated_polarity object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Plots a cumulative_animated_polarity object. 16 | } 17 | -------------------------------------------------------------------------------- /man/plot.cumulative_combo_syllable_sum.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/syllable_sum.R 3 | \name{plot.cumulative_combo_syllable_sum} 4 | \alias{plot.cumulative_combo_syllable_sum} 5 | \title{Plots a cumulative_combo_syllable_sum Object} 6 | \usage{ 7 | \method{plot}{cumulative_combo_syllable_sum}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The cumulative_combo_syllable_sum object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Plots a cumulative_combo_syllable_sum object. 16 | } 17 | -------------------------------------------------------------------------------- /man/plot.cumulative_end_mark.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/end_mark.R 3 | \name{plot.cumulative_end_mark} 4 | \alias{plot.cumulative_end_mark} 5 | \title{Plots a cumulative_end_mark Object} 6 | \usage{ 7 | \method{plot}{cumulative_end_mark}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The cumulative_end_mark object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Plots a cumulative_end_mark object. 16 | } 17 | -------------------------------------------------------------------------------- /man/plot.cumulative_formality.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/formality.R 3 | \name{plot.cumulative_formality} 4 | \alias{plot.cumulative_formality} 5 | \title{Plots a cumulative_formality Object} 6 | \usage{ 7 | \method{plot}{cumulative_formality}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The cumulative_formality object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Plots a cumulative_formality object. 16 | } 17 | -------------------------------------------------------------------------------- /man/plot.cumulative_lexical_classification.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/lexical_classification.R 3 | \name{plot.cumulative_lexical_classification} 4 | \alias{plot.cumulative_lexical_classification} 5 | \title{Plots a cumulative_lexical_classification Object} 6 | \usage{ 7 | \method{plot}{cumulative_lexical_classification}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The cumulative_lexical_classification object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Plots a cumulative_lexical_classification object. 16 | } 17 | -------------------------------------------------------------------------------- /man/plot.cumulative_polarity.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/polarity.R 3 | \name{plot.cumulative_polarity} 4 | \alias{plot.cumulative_polarity} 5 | \title{Plots a cumulative_polarity Object} 6 | \usage{ 7 | \method{plot}{cumulative_polarity}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The cumulative_polarity object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Plots a cumulative_polarity object. 16 | } 17 | -------------------------------------------------------------------------------- /man/plot.cumulative_syllable_freq.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/syllable_sum.R 3 | \name{plot.cumulative_syllable_freq} 4 | \alias{plot.cumulative_syllable_freq} 5 | \title{Plots a cumulative_syllable_freq Object} 6 | \usage{ 7 | \method{plot}{cumulative_syllable_freq}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The cumulative_syllable_freq object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Plots a cumulative_syllable_freq object. 16 | } 17 | -------------------------------------------------------------------------------- /man/plot.discourse_map.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/discourse_map.R 3 | \name{plot.discourse_map} 4 | \alias{plot.discourse_map} 5 | \title{Plots a discourse_map Object} 6 | \usage{ 7 | \method{plot}{discourse_map}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The discourse_map object.} 11 | 12 | \item{\ldots}{Other arguments passed to \code{print.discourse_map}.} 13 | } 14 | \description{ 15 | Plots a discourse_map object. 16 | } 17 | -------------------------------------------------------------------------------- /man/plot.diversity.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/diversity.R 3 | \name{plot.diversity} 4 | \alias{plot.diversity} 5 | \title{Plots a diversity object} 6 | \usage{ 7 | \method{plot}{diversity}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The diversity object} 11 | 12 | \item{\ldots}{Other arguments passed to \code{qheat}} 13 | } 14 | \description{ 15 | Plots a diversity object. 16 | } 17 | -------------------------------------------------------------------------------- /man/plot.end_mark.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/end_mark.R 3 | \name{plot.end_mark} 4 | \alias{plot.end_mark} 5 | \title{Plots an end_mark Object} 6 | \usage{ 7 | \method{plot}{end_mark}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The end_mark object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Plots an end_mark object. 16 | } 17 | -------------------------------------------------------------------------------- /man/plot.end_mark_by.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/end_mark.R 3 | \name{plot.end_mark_by} 4 | \alias{plot.end_mark_by} 5 | \title{Plots a end_mark_by Object} 6 | \usage{ 7 | \method{plot}{end_mark_by}(x, values = FALSE, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The end_mark_by object.} 11 | 12 | \item{values}{logical. If \code{TRUE} the cell values will be included on 13 | the heatmap.} 14 | 15 | \item{\ldots}{Other arguments passed to \code{\link[qdap]{qheat}}.} 16 | } 17 | \description{ 18 | Plots a end_mark_by object. 19 | } 20 | -------------------------------------------------------------------------------- /man/plot.end_mark_by_count.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/end_mark.R 3 | \name{plot.end_mark_by_count} 4 | \alias{plot.end_mark_by_count} 5 | \title{Plots a end_mark_by_count Object} 6 | \usage{ 7 | \method{plot}{end_mark_by_count}(x, values = TRUE, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The end_mark_by_count object.} 11 | 12 | \item{values}{logical. If \code{TRUE} the cell values will be included on 13 | the heatmap.} 14 | 15 | \item{\ldots}{Arguments passed to \code{\link[qdap]{qheat}}.} 16 | } 17 | \description{ 18 | Plots a end_mark_by_count object. 19 | } 20 | -------------------------------------------------------------------------------- /man/plot.end_mark_by_preprocessed.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/end_mark.R 3 | \name{plot.end_mark_by_preprocessed} 4 | \alias{plot.end_mark_by_preprocessed} 5 | \title{Plots a end_mark_by_preprocessed Object} 6 | \usage{ 7 | \method{plot}{end_mark_by_preprocessed}(x, ncol = 1, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The end_mark_by_preprocessed object.} 11 | 12 | \item{ncol}{The number of columns to use for \code{\link[ggplot2]{facet_wrap}}.} 13 | 14 | \item{\ldots}{ignored} 15 | } 16 | \description{ 17 | Plots a end_mark_by_preprocessed object. 18 | } 19 | -------------------------------------------------------------------------------- /man/plot.end_mark_by_proportion.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/end_mark.R 3 | \name{plot.end_mark_by_proportion} 4 | \alias{plot.end_mark_by_proportion} 5 | \title{Plots a end_mark_by_proportion Object} 6 | \usage{ 7 | \method{plot}{end_mark_by_proportion}(x, values = TRUE, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The end_mark_by_proportion object.} 11 | 12 | \item{values}{logical. If \code{TRUE} the cell values will be included on 13 | the heatmap.} 14 | 15 | \item{\ldots}{Arguments passed to \code{\link[qdap]{qheat}}.} 16 | } 17 | \description{ 18 | Plots a end_mark_by_proportion object. 19 | } 20 | -------------------------------------------------------------------------------- /man/plot.end_mark_by_score.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/end_mark.R 3 | \name{plot.end_mark_by_score} 4 | \alias{plot.end_mark_by_score} 5 | \title{Plots a end_mark_by_score Object} 6 | \usage{ 7 | \method{plot}{end_mark_by_score}(x, values = TRUE, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The end_mark_by_score object.} 11 | 12 | \item{values}{logical. If \code{TRUE} the cell values will be included on 13 | the heatmap.} 14 | 15 | \item{\ldots}{Arguments passed to \code{\link[qdap]{qheat}}.} 16 | } 17 | \description{ 18 | Plots a end_mark_by_score object. 19 | } 20 | -------------------------------------------------------------------------------- /man/plot.flesch_kincaid.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/automated_readability_index.R 3 | \name{plot.flesch_kincaid} 4 | \alias{plot.flesch_kincaid} 5 | \title{Plots a flesch_kincaid Object} 6 | \usage{ 7 | \method{plot}{flesch_kincaid}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The readability_score object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Plots a flesch_kincaid object. 16 | } 17 | -------------------------------------------------------------------------------- /man/plot.formality_scores.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/formality.R 3 | \name{plot.formality_scores} 4 | \alias{plot.formality_scores} 5 | \title{Plots a formality_scores Object} 6 | \usage{ 7 | \method{plot}{formality_scores}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The formality_scores object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Plots a formality_scores object. 16 | } 17 | -------------------------------------------------------------------------------- /man/plot.freq_terms.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/freq_terms.R 3 | \name{plot.freq_terms} 4 | \alias{plot.freq_terms} 5 | \title{Plots a freq_terms Object} 6 | \usage{ 7 | \method{plot}{freq_terms}(x, plot = TRUE, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The freq_terms object.} 11 | 12 | \item{plot}{logical. If \code{TRUE} the plot will automatically plot. 13 | The user may wish to set to \code{FALSE} for use in knitr, sweave, etc. 14 | to add additional plot layers.} 15 | 16 | \item{\ldots}{ignored.} 17 | } 18 | \description{ 19 | Plots a freq_terms object. 20 | } 21 | -------------------------------------------------------------------------------- /man/plot.gantt.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/gantt.R 3 | \name{plot.gantt} 4 | \alias{plot.gantt} 5 | \title{Plots a gantt object} 6 | \usage{ 7 | \method{plot}{gantt}(x, base = FALSE, title = NULL, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The sums_gantt object} 11 | 12 | \item{base}{logical. If \code{TRUE} prints in base graphics system. 13 | If \code{FALSE} prints in ggplot graphics system.} 14 | 15 | \item{title}{An optional title.} 16 | 17 | \item{\ldots}{Other arguments passed to \code{gantt_wrap} or 18 | \code{plot_gantt_base}} 19 | } 20 | \description{ 21 | Plots a gantt object. 22 | } 23 | -------------------------------------------------------------------------------- /man/plot.kullback_leibler.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/kullback_leibler.R 3 | \name{plot.kullback_leibler} 4 | \alias{plot.kullback_leibler} 5 | \title{Plots a kullback_leibler object} 6 | \usage{ 7 | \method{plot}{kullback_leibler}(x, digits = 3, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The kullback_leibler object} 11 | 12 | \item{digits}{Number of decimal places to print.} 13 | 14 | \item{\ldots}{Other arguments passed to \code{qheat}} 15 | } 16 | \description{ 17 | Plots a kullback_leibler object. 18 | } 19 | -------------------------------------------------------------------------------- /man/plot.lexical_classification_preprocessed.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/lexical_classification.R 3 | \name{plot.lexical_classification_preprocessed} 4 | \alias{plot.lexical_classification_preprocessed} 5 | \title{Plots a lexical_classification_preprocessed Object} 6 | \usage{ 7 | \method{plot}{lexical_classification_preprocessed}(x, jitter = 0.1, text.size = 3.5, alpha = 0.3, ncol = 3, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The lexical_classification_preprocessed object.} 11 | 12 | \item{jitter}{The amount to jitter the points by in the bocplots.} 13 | 14 | \item{text.size}{The text size to use for plotting the mean in the boxplots.} 15 | 16 | \item{alpha}{The alpha level to use for points.} 17 | 18 | \item{ncol}{The number of columns to use for \code{\link[ggplot2]{facet_wrap}}.} 19 | 20 | \item{\ldots}{ignored} 21 | } 22 | \description{ 23 | Plots a lexical_classification_preprocessed object. 24 | } 25 | -------------------------------------------------------------------------------- /man/plot.lexical_classification_score.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/lexical_classification.R 3 | \name{plot.lexical_classification_score} 4 | \alias{plot.lexical_classification_score} 5 | \title{Plots a lexical_classification_score Object} 6 | \usage{ 7 | \method{plot}{lexical_classification_score}( 8 | x, 9 | error.bar.height = 0.35, 10 | error.bar.size = 0.5, 11 | error.bar.alpha = 0.3, 12 | ... 13 | ) 14 | } 15 | \arguments{ 16 | \item{x}{The lexical_classification_score object.} 17 | 18 | \item{error.bar.height}{The height of the error bar ends.} 19 | 20 | \item{error.bar.size}{The size/thickness of the error bars.} 21 | 22 | \item{error.bar.alpha}{The alpha level of the error bars.} 23 | 24 | \item{\ldots}{ignored} 25 | } 26 | \description{ 27 | Plots a lexical_classification_score object. 28 | } 29 | -------------------------------------------------------------------------------- /man/plot.linsear_write.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/automated_readability_index.R 3 | \name{plot.linsear_write} 4 | \alias{plot.linsear_write} 5 | \title{Plots a linsear_write Object} 6 | \usage{ 7 | \method{plot}{linsear_write}(x, alpha = 0.4, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The readability_score object.} 11 | 12 | \item{alpha}{The alpha level for the points and smooth fill in the 13 | scatterplot (length one or two; if two 1-points, 2-smooth fill).} 14 | 15 | \item{\ldots}{ignored} 16 | } 17 | \description{ 18 | Plots a linsear_write object. 19 | } 20 | -------------------------------------------------------------------------------- /man/plot.linsear_write_count.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/automated_readability_index.R 3 | \name{plot.linsear_write_count} 4 | \alias{plot.linsear_write_count} 5 | \title{Plots a linsear_write_count Object} 6 | \usage{ 7 | \method{plot}{linsear_write_count}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The linsear_write_count object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Plots a linsear_write_count object. 16 | } 17 | -------------------------------------------------------------------------------- /man/plot.linsear_write_scores.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/automated_readability_index.R 3 | \name{plot.linsear_write_scores} 4 | \alias{plot.linsear_write_scores} 5 | \title{Plots a linsear_write_scores Object} 6 | \usage{ 7 | \method{plot}{linsear_write_scores}(x, alpha = c(0.4, 0.08), ...) 8 | } 9 | \arguments{ 10 | \item{x}{The readability_score object.} 11 | 12 | \item{alpha}{The alpha level for the points and smooth fill in the 13 | scatterplot (length one or two; if two 1-points, 2-smooth fill).} 14 | 15 | \item{\ldots}{Other arguments passed to \code{\link[ggplot2]{geom_smooth}}.} 16 | } 17 | \description{ 18 | Plots a linsear_write_scores object. 19 | } 20 | -------------------------------------------------------------------------------- /man/plot.object_pronoun_type.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/object_pronoun_type.R 3 | \name{plot.object_pronoun_type} 4 | \alias{plot.object_pronoun_type} 5 | \title{Plots an object_pronoun_type Object} 6 | \usage{ 7 | \method{plot}{object_pronoun_type}(x, type = 1, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The object_pronoun_type object.} 11 | 12 | \item{type}{An integer of \code{1}, \code{2}, \code{3}) corresponding to 13 | 1 - heat map; 2 - lexical dispersion plot; 3 - facetted bar graph.} 14 | 15 | \item{\ldots}{Other arguments passed to \code{\link[qdap]{qheat}}, 16 | \code{\link[qdap]{dispersion_plot}}, or \code{\link[ggplot2]{facet_wrap}}.} 17 | } 18 | \description{ 19 | Plots an object_pronoun_type object. 20 | } 21 | -------------------------------------------------------------------------------- /man/plot.polarity_score.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/polarity.R 3 | \name{plot.polarity_score} 4 | \alias{plot.polarity_score} 5 | \title{Plots a polarity_score Object} 6 | \usage{ 7 | \method{plot}{polarity_score}( 8 | x, 9 | error.bar.height = 0.35, 10 | error.bar.size = 0.5, 11 | error.bar.alpha = 0.3, 12 | ... 13 | ) 14 | } 15 | \arguments{ 16 | \item{x}{The polarity_score object.} 17 | 18 | \item{error.bar.height}{The height of the error bar ends.} 19 | 20 | \item{error.bar.size}{The size/thickness of the error bars.} 21 | 22 | \item{error.bar.alpha}{The alpha level of the error bars.} 23 | 24 | \item{\ldots}{ignored} 25 | } 26 | \description{ 27 | Plots a polarity_score object. 28 | } 29 | -------------------------------------------------------------------------------- /man/plot.pos.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/pos.R 3 | \name{plot.pos} 4 | \alias{plot.pos} 5 | \title{Plots a pos Object} 6 | \usage{ 7 | \method{plot}{pos}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The pos object} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Plots a pos object. 16 | } 17 | -------------------------------------------------------------------------------- /man/plot.pos_preprocessed.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/pos.R 3 | \name{plot.pos_preprocessed} 4 | \alias{plot.pos_preprocessed} 5 | \title{Plots a pos_preprocessed Object} 6 | \usage{ 7 | \method{plot}{pos_preprocessed}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The pos_preprocessed object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Plots a pos_preprocessed object. 16 | } 17 | -------------------------------------------------------------------------------- /man/plot.pronoun_type.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/pronoun_type.R 3 | \name{plot.pronoun_type} 4 | \alias{plot.pronoun_type} 5 | \title{Plots an pronoun_type Object} 6 | \usage{ 7 | \method{plot}{pronoun_type}(x, type = 1, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The pronoun_type object.} 11 | 12 | \item{type}{An integer of \code{1}, \code{2}, \code{3}) corresponding to 13 | 1 - heat map; 2 - lexical dispersion plot; 3 - facetted bar graph.} 14 | 15 | \item{\ldots}{Other arguments passed to \code{\link[qdap]{qheat}}, 16 | \code{\link[qdap]{dispersion_plot}}, or \code{\link[ggplot2]{facet_wrap}}.} 17 | } 18 | \description{ 19 | Plots an pronoun_type object. 20 | } 21 | -------------------------------------------------------------------------------- /man/plot.question_type_preprocessed.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/question_type.R 3 | \name{plot.question_type_preprocessed} 4 | \alias{plot.question_type_preprocessed} 5 | \title{Plots a question_type_preprocessed Object} 6 | \usage{ 7 | \method{plot}{question_type_preprocessed}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The question_type_preprocessed object.} 11 | 12 | \item{\ldots}{Arguments passed to \code{\link[qdap]{gantt_plot}}.} 13 | } 14 | \description{ 15 | Plots a question_type_preprocessed object. 16 | } 17 | -------------------------------------------------------------------------------- /man/plot.readability_count.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/automated_readability_index.R 3 | \name{plot.readability_count} 4 | \alias{plot.readability_count} 5 | \title{Plots a readability_count Object} 6 | \usage{ 7 | \method{plot}{readability_count}(x, alpha = 0.3, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The readability_count object.} 11 | 12 | \item{alpha}{The alpha level to use for points.} 13 | 14 | \item{\ldots}{ignored} 15 | } 16 | \description{ 17 | Plots a readability_count object. 18 | } 19 | -------------------------------------------------------------------------------- /man/plot.rmgantt.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/gantt_rep.R 3 | \name{plot.rmgantt} 4 | \alias{plot.rmgantt} 5 | \title{Plots a rmgantt object} 6 | \usage{ 7 | \method{plot}{rmgantt}(x, title, transform = FALSE, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The sums_rmgantt object} 11 | 12 | \item{title}{An optional title.} 13 | 14 | \item{transform}{logical. If \code{TRUE} and there are two repeated measures 15 | the faceting is reversed.} 16 | 17 | \item{\ldots}{Other arguments passed to \code{gantt_wrap}} 18 | } 19 | \description{ 20 | Plots a rmgantt object. 21 | } 22 | -------------------------------------------------------------------------------- /man/plot.sent_split.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/sentSplit.R 3 | \name{plot.sent_split} 4 | \alias{plot.sent_split} 5 | \title{Plots a sent_split Object} 6 | \usage{ 7 | \method{plot}{sent_split}(x, text.var = NULL, rm.var = NULL, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The sent_split object.} 11 | 12 | \item{text.var}{The text variable (character string).} 13 | 14 | \item{rm.var}{An optional repeated measures character vector of 1 or 2 to 15 | facet by. If \code{NULL} the \code{rm.var} from \code{sentSplit} is used. To 16 | avoid this behavior use 17 | \code{FALSE}.} 18 | 19 | \item{\ldots}{Other arguments passed to \code{tot_plot}.} 20 | } 21 | \description{ 22 | Plots a sent_split object. 23 | } 24 | -------------------------------------------------------------------------------- /man/plot.subject_pronoun_type.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/subject_pronoun_type.R 3 | \name{plot.subject_pronoun_type} 4 | \alias{plot.subject_pronoun_type} 5 | \title{Plots an subject_pronoun_type Object} 6 | \usage{ 7 | \method{plot}{subject_pronoun_type}(x, type = 1, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The subject_pronoun_type object.} 11 | 12 | \item{type}{An integer of \code{1}, \code{2}, \code{3}) corresponding to 13 | 1 - heat map; 2 - lexical dispersion plot; 3 - facetted bar graph.} 14 | 15 | \item{\ldots}{Other arguments passed to \code{\link[qdap]{qheat}}, 16 | \code{\link[qdap]{dispersion_plot}}, or \code{\link[ggplot2]{facet_wrap}}.} 17 | } 18 | \description{ 19 | Plots an subject_pronoun_type object. 20 | } 21 | -------------------------------------------------------------------------------- /man/plot.sums_gantt.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/gantt.R 3 | \name{plot.sums_gantt} 4 | \alias{plot.sums_gantt} 5 | \title{Plots a sums_gantt object} 6 | \usage{ 7 | \method{plot}{sums_gantt}(x, base = TRUE, title = NULL, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The sums_gantt object} 11 | 12 | \item{base}{logical. If \code{TRUE} prints in base graphics system. 13 | If \code{FALSE} prints in ggplot graphics system.} 14 | 15 | \item{title}{An optional title.} 16 | 17 | \item{\ldots}{Other arguments passed to \code{gantt_wrap} or 18 | \code{plot_gantt_base}} 19 | } 20 | \description{ 21 | Plots a sums_gantt object. 22 | } 23 | -------------------------------------------------------------------------------- /man/plot.syllable_freq.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/syllable_sum.R 3 | \name{plot.syllable_freq} 4 | \alias{plot.syllable_freq} 5 | \title{Plots a syllable_freq Object} 6 | \usage{ 7 | \method{plot}{syllable_freq}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The syllable_freq object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Plots a syllable_freq object. 16 | } 17 | -------------------------------------------------------------------------------- /man/plot.table_count.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/table_methods.R 3 | \name{plot.table_count} 4 | \alias{plot.table_count} 5 | \title{Plots a table_count Object} 6 | \usage{ 7 | \method{plot}{table_count}(x, values = TRUE, high = "red", ...) 8 | } 9 | \arguments{ 10 | \item{x}{The table_count object.} 11 | 12 | \item{values}{logical. If \code{TRUE} the cell values will be included on 13 | the heatmap.} 14 | 15 | \item{high}{The color to be used for higher values.} 16 | 17 | \item{\ldots}{Other arguments passed to \code{\link[qdap]{qheat}}.} 18 | } 19 | \description{ 20 | Plots a table_count object. 21 | } 22 | -------------------------------------------------------------------------------- /man/plot.table_proportion.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/table_methods.R 3 | \name{plot.table_proportion} 4 | \alias{plot.table_proportion} 5 | \title{Plots a table_proportion Object} 6 | \usage{ 7 | \method{plot}{table_proportion}(x, values = TRUE, high = "red", ...) 8 | } 9 | \arguments{ 10 | \item{x}{The table_proportion object.} 11 | 12 | \item{values}{logical. If \code{TRUE} the cell values will be included on 13 | the heatmap.} 14 | 15 | \item{high}{The color to be used for higher values.} 16 | 17 | \item{\ldots}{Other arguments passed to \code{\link[qdap]{qheat}}.} 18 | } 19 | \description{ 20 | Plots a table_proportion object. 21 | } 22 | -------------------------------------------------------------------------------- /man/plot.table_score.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/table_methods.R 3 | \name{plot.table_score} 4 | \alias{plot.table_score} 5 | \title{Plots a table_score Object} 6 | \usage{ 7 | \method{plot}{table_score}(x, values = TRUE, high = "red", ...) 8 | } 9 | \arguments{ 10 | \item{x}{The table_score object.} 11 | 12 | \item{values}{logical. If \code{TRUE} the cell values will be included on 13 | the heatmap.} 14 | 15 | \item{high}{The color to be used for higher values.} 16 | 17 | \item{\ldots}{Other arguments passed to \code{\link[qdap]{qheat}}.} 18 | } 19 | \description{ 20 | Plots a table_score object. 21 | } 22 | -------------------------------------------------------------------------------- /man/plot.type_token_ratio.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/type_token_ratio.R 3 | \name{plot.type_token_ratio} 4 | \alias{plot.type_token_ratio} 5 | \title{Plots a type_token_ratio Object} 6 | \usage{ 7 | \method{plot}{type_token_ratio}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The type_token_ratio object.} 11 | 12 | \item{\ldots}{ignored.} 13 | } 14 | \description{ 15 | Plots a type_token_ratio object. 16 | } 17 | -------------------------------------------------------------------------------- /man/plot.wfdf.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/wfm.R 3 | \name{plot.wfdf} 4 | \alias{plot.wfdf} 5 | \title{Plots a wfdf object} 6 | \usage{ 7 | \method{plot}{wfdf}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The wfdf object} 11 | 12 | \item{\ldots}{Other arguments passed to \code{\link[qdap]{plot.wfm}}.} 13 | } 14 | \description{ 15 | Plots a wfdf object. 16 | } 17 | -------------------------------------------------------------------------------- /man/plot.word_position.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/word_position.R 3 | \name{plot.word_position} 4 | \alias{plot.word_position} 5 | \title{Plots a word_position object} 6 | \usage{ 7 | \method{plot}{word_position}(x, qheat = TRUE, scale = TRUE, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The word_position object.} 11 | 12 | \item{qheat}{logical. If \code{TRUE} \code{\link[qdap]{qheat}} is used to 13 | plot. If \code{FALSE} \code{\link[stats]{heatmap}} is used.} 14 | 15 | \item{scale}{logical. If \code{TRUE} scales heatmap by row. If 16 | \code{FALSE} no scaling occurs.} 17 | 18 | \item{\ldots}{Other arguments passed to \code{\link[qdap]{qheat}} or 19 | \code{\link[stats]{heatmap}}.} 20 | } 21 | \description{ 22 | Plots a word_position object. 23 | } 24 | -------------------------------------------------------------------------------- /man/plot.word_stats.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/word_stats.R 3 | \name{plot.word_stats} 4 | \alias{plot.word_stats} 5 | \title{Plots a word_stats object} 6 | \usage{ 7 | \method{plot}{word_stats}(x, label = FALSE, lab.digits = NULL, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The word_stats object} 11 | 12 | \item{label}{logical. If \code{TRUE} the cells of the heat map plot will be 13 | labeled with count and proportional values.} 14 | 15 | \item{lab.digits}{Integer values specifying the number of digits to be 16 | printed if \code{label} is \code{TRUE}.} 17 | 18 | \item{\ldots}{Other arguments passed to qheat.} 19 | } 20 | \description{ 21 | Plots a word_stats object. 22 | } 23 | -------------------------------------------------------------------------------- /man/plot.word_stats_counts.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/word_stats.R 3 | \name{plot.word_stats_counts} 4 | \alias{plot.word_stats_counts} 5 | \title{Plots a word_stats_counts Object} 6 | \usage{ 7 | \method{plot}{word_stats_counts}(x, alpha = 0.3, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The word_stats_counts object.} 11 | 12 | \item{alpha}{The alpha level to use for points.} 13 | 14 | \item{\ldots}{ignored} 15 | } 16 | \description{ 17 | Plots a word_stats_counts object. 18 | } 19 | -------------------------------------------------------------------------------- /man/power.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/power.R 3 | \name{sentiment_frame} 4 | \alias{sentiment_frame} 5 | \title{Power Score (Sentiment Analysis)} 6 | \usage{ 7 | sentiment_frame(positives, negatives, pos.weights = 1, neg.weights = -1) 8 | } 9 | \arguments{ 10 | \item{positives}{A character vector of positive words.} 11 | 12 | \item{negatives}{A character vector of negative words.} 13 | 14 | \item{pos.weights}{A vector of weights to weight each positive word by. 15 | Length must be equal to length of \code{postives} or length 1 (if 1 weight 16 | will be recycled).} 17 | 18 | \item{neg.weights}{A vector of weights to weight each negative word by. 19 | Length must be equal to length of \code{negatives} or length 1 (if 1 weight 20 | will be recycled).} 21 | } 22 | \description{ 23 | \code{sentiment_frame} - Generate a sentiment lookup hash table 24 | for use with the \code{xxx.frame} argument of various sentiment functions. 25 | } 26 | -------------------------------------------------------------------------------- /man/preprocessed.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/preprocessed.R 3 | \name{preprocessed} 4 | \alias{preprocessed} 5 | \title{Generic Preprocessed Method} 6 | \usage{ 7 | preprocessed(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{A qdap object (list) with a dataframe/list of preprocessed data 11 | (e.g., \code{\link[qdap]{pos_by}}).} 12 | 13 | \item{\ldots}{Arguments passed to preprocessed method of other classes.} 14 | } 15 | \value{ 16 | Returns a data.frame or list of preprocessed data. 17 | } 18 | \description{ 19 | Access the preprocessed dataframes/lists from select qdap outputs. 20 | } 21 | \seealso{ 22 | \code{\link[qdap]{scores}}, 23 | \code{\link[qdap]{counts}}, 24 | \code{\link[qdap]{proportions}}, 25 | \code{\link[qdap]{visual}} 26 | } 27 | -------------------------------------------------------------------------------- /man/preprocessed.check_spelling_interactive.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/check_spelling.R 3 | \name{preprocessed.check_spelling_interactive} 4 | \alias{preprocessed.check_spelling_interactive} 5 | \title{Check Spelling} 6 | \usage{ 7 | \method{preprocessed}{check_spelling_interactive}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The \code{\link[qdap]{check_spelling_interactive}} object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View check_spelling_interactive preprocessed. 16 | } 17 | \details{ 18 | check_spelling_interactive Method for preprocessed 19 | } 20 | -------------------------------------------------------------------------------- /man/preprocessed.end_mark_by.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/end_mark.R 3 | \name{preprocessed.end_mark_by} 4 | \alias{preprocessed.end_mark_by} 5 | \title{Question Counts} 6 | \usage{ 7 | \method{preprocessed}{end_mark_by}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The end_mark_by object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View \code{\link[qdap]{end_mark_by}} preprocessed. 16 | } 17 | \details{ 18 | end_mark_by Method for preprocessed 19 | } 20 | -------------------------------------------------------------------------------- /man/preprocessed.formality.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/formality.R 3 | \name{preprocessed.formality} 4 | \alias{preprocessed.formality} 5 | \title{Formality} 6 | \usage{ 7 | \method{preprocessed}{formality}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The \code{\link[qdap]{formality}} object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View formality preprocessed. 16 | } 17 | \details{ 18 | formality Method for preprocessed 19 | } 20 | -------------------------------------------------------------------------------- /man/preprocessed.lexical_classification.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/lexical_classification.R 3 | \name{preprocessed.lexical_classification} 4 | \alias{preprocessed.lexical_classification} 5 | \title{Lexical Classification} 6 | \usage{ 7 | \method{preprocessed}{lexical_classification}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The lexical_classification object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | \code{preprocessed.lexical_classification} - View preprocessed from \code{\link[qdap]{lexical_classification}}. 16 | } 17 | \details{ 18 | lexical_classification Method for preprocessed. 19 | } 20 | -------------------------------------------------------------------------------- /man/preprocessed.object_pronoun_type.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/object_pronoun_type.R 3 | \name{preprocessed.object_pronoun_type} 4 | \alias{preprocessed.object_pronoun_type} 5 | \title{Question Counts} 6 | \usage{ 7 | \method{preprocessed}{object_pronoun_type}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The object_pronoun_type object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View \code{\link[qdap]{object_pronoun_type}} preprocessed. 16 | } 17 | \details{ 18 | object_pronoun_type Method for preprocessed 19 | } 20 | -------------------------------------------------------------------------------- /man/preprocessed.pos.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/pos.R 3 | \name{preprocessed.pos} 4 | \alias{preprocessed.pos} 5 | \title{Parts of Speech} 6 | \usage{ 7 | \method{preprocessed}{pos}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The \code{\link[qdap]{pos}} object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View pos preprocessed. 16 | } 17 | \details{ 18 | pos Method for preprocessed 19 | } 20 | -------------------------------------------------------------------------------- /man/preprocessed.pos_by.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/pos.R 3 | \name{preprocessed.pos_by} 4 | \alias{preprocessed.pos_by} 5 | \title{Parts of Speech} 6 | \usage{ 7 | \method{preprocessed}{pos_by}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The \code{\link[qdap]{pos_by}} object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View pos_by preprocessed. 16 | } 17 | \details{ 18 | pos_by Method for preprocessed 19 | } 20 | -------------------------------------------------------------------------------- /man/preprocessed.pronoun_type.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/pronoun_type.R 3 | \name{preprocessed.pronoun_type} 4 | \alias{preprocessed.pronoun_type} 5 | \title{Question Counts} 6 | \usage{ 7 | \method{preprocessed}{pronoun_type}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The pronoun_type object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View \code{\link[qdap]{pronoun_type}} preprocessed. 16 | } 17 | \details{ 18 | pronoun_type Method for preprocessed 19 | } 20 | -------------------------------------------------------------------------------- /man/preprocessed.question_type.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/question_type.R 3 | \name{preprocessed.question_type} 4 | \alias{preprocessed.question_type} 5 | \title{Question Counts} 6 | \usage{ 7 | \method{preprocessed}{question_type}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The question_type object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View \code{\link[qdap]{question_type}} preprocessed. 16 | } 17 | \details{ 18 | question_type Method for preprocessed 19 | } 20 | -------------------------------------------------------------------------------- /man/preprocessed.subject_pronoun_type.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/subject_pronoun_type.R 3 | \name{preprocessed.subject_pronoun_type} 4 | \alias{preprocessed.subject_pronoun_type} 5 | \title{Question Counts} 6 | \usage{ 7 | \method{preprocessed}{subject_pronoun_type}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The subject_pronoun_type object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View \code{\link[qdap]{subject_pronoun_type}} preprocessed. 16 | } 17 | \details{ 18 | subject_pronoun_type Method for preprocessed 19 | } 20 | -------------------------------------------------------------------------------- /man/preprocessed.word_position.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/word_position.R 3 | \name{preprocessed.word_position} 4 | \alias{preprocessed.word_position} 5 | \title{Word Position} 6 | \usage{ 7 | \method{preprocessed}{word_position}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The word_position object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View \code{\link[qdap]{word_position}} preprocessed. 16 | } 17 | \details{ 18 | word_position Method for preprocessed 19 | } 20 | -------------------------------------------------------------------------------- /man/pres_debate_raw2012.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/qdap-package.R 3 | \docType{data} 4 | \name{pres_debate_raw2012} 5 | \alias{pres_debate_raw2012} 6 | \title{First 2012 U.S. Presidential Debate} 7 | \format{ 8 | A data frame with 94 rows and 2 variables 9 | } 10 | \usage{ 11 | data(pres_debate_raw2012) 12 | } 13 | \description{ 14 | A dataset containing the raw version of the first presidential debate. 15 | } 16 | \details{ 17 | \itemize{ 18 | \item person. The speaker 19 | \item dialogue. The words spoken 20 | } 21 | } 22 | \keyword{datasets} 23 | -------------------------------------------------------------------------------- /man/pres_debates2012.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/qdap-package.R 3 | \docType{data} 4 | \name{pres_debates2012} 5 | \alias{pres_debates2012} 6 | \title{2012 U.S. Presidential Debates} 7 | \format{ 8 | A data frame with 2912 rows and 4 variables 9 | } 10 | \usage{ 11 | data(pres_debates2012) 12 | } 13 | \description{ 14 | A dataset containing a cleaned version of all three presidential debates for 15 | the 2012 election. 16 | } 17 | \details{ 18 | \itemize{ 19 | \item person. The speaker 20 | \item tot. Turn of talk 21 | \item dialogue. The words spoken 22 | \item time. Variable indicating which of the three debates the dialogue is from 23 | } 24 | } 25 | \keyword{datasets} 26 | -------------------------------------------------------------------------------- /man/print.Dissimilarity.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/dissimilarity.R 3 | \name{print.Dissimilarity} 4 | \alias{print.Dissimilarity} 5 | \title{Prints a Dissimilarity object} 6 | \usage{ 7 | \method{print}{Dissimilarity}(x, digits = 3, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The Dissimilarity object} 11 | 12 | \item{digits}{Number of decimal places to print.} 13 | 14 | \item{\ldots}{ignored} 15 | } 16 | \description{ 17 | Prints a Dissimilarity object. 18 | } 19 | -------------------------------------------------------------------------------- /man/print.SMOG.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/automated_readability_index.R 3 | \name{print.SMOG} 4 | \alias{print.SMOG} 5 | \title{Prints an SMOG Object} 6 | \usage{ 7 | \method{print}{SMOG}(x, digits = 3, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The SMOG object.} 11 | 12 | \item{digits}{The number of digits displayed if \code{values} is \code{TRUE}.} 13 | 14 | \item{\ldots}{ignored} 15 | } 16 | \description{ 17 | Prints an SMOG object. 18 | } 19 | -------------------------------------------------------------------------------- /man/print.adjacency_matrix.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/adjacency_matrix.R 3 | \name{print.adjacency_matrix} 4 | \alias{print.adjacency_matrix} 5 | \title{Prints an adjacency_matrix Object} 6 | \usage{ 7 | \method{print}{adjacency_matrix}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The adjacency_matrix object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints an adjacency_matrix object. 16 | } 17 | -------------------------------------------------------------------------------- /man/print.all_words.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/all_words.R 3 | \name{print.all_words} 4 | \alias{print.all_words} 5 | \title{Prints an all_words Object} 6 | \usage{ 7 | \method{print}{all_words}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The all_words object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints an all_words object. 16 | } 17 | -------------------------------------------------------------------------------- /man/print.animated_character.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/Animate.character.R 3 | \name{print.animated_character} 4 | \alias{print.animated_character} 5 | \title{Prints an animated_character Object} 6 | \usage{ 7 | \method{print}{animated_character}(x, pause = 0, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The animated_character object.} 11 | 12 | \item{pause}{The length of time to pause between plots.} 13 | 14 | \item{\ldots}{ignored.} 15 | } 16 | \description{ 17 | Prints an animated_character object. 18 | } 19 | -------------------------------------------------------------------------------- /man/print.animated_discourse_map.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/discourse_map.R 3 | \name{print.animated_discourse_map} 4 | \alias{print.animated_discourse_map} 5 | \title{Prints an animated_discourse_map Object} 6 | \usage{ 7 | \method{print}{animated_discourse_map}( 8 | x, 9 | title = NULL, 10 | seed = sample(1:10000, 1), 11 | layout = layout.auto, 12 | pause = 0, 13 | ... 14 | ) 15 | } 16 | \arguments{ 17 | \item{x}{The animated_discourse_map object.} 18 | 19 | \item{title}{The title of the plot.} 20 | 21 | \item{seed}{The seed to use in plotting the graph.} 22 | 23 | \item{layout}{\pkg{igraph} \code{layout} to use.} 24 | 25 | \item{pause}{The length of time to pause between plots.} 26 | 27 | \item{\ldots}{Other Arguments passed to \code{\link[igraph]{plot.igraph}}.} 28 | } 29 | \description{ 30 | Prints an animated_discourse_map object. 31 | } 32 | -------------------------------------------------------------------------------- /man/print.automated_readability_index.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/automated_readability_index.R 3 | \name{print.automated_readability_index} 4 | \alias{print.automated_readability_index} 5 | \title{Prints an automated_readability_index Object} 6 | \usage{ 7 | \method{print}{automated_readability_index}(x, digits = 3, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The automated_readability_index object.} 11 | 12 | \item{digits}{The number of digits displayed if \code{values} is \code{TRUE}.} 13 | 14 | \item{\ldots}{ignored} 15 | } 16 | \description{ 17 | Prints an automated_readability_index object. 18 | } 19 | -------------------------------------------------------------------------------- /man/print.boolean_qdap.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/Search.R 3 | \name{print.boolean_qdap} 4 | \alias{print.boolean_qdap} 5 | \title{Prints a boolean_qdap object} 6 | \usage{ 7 | \method{print}{boolean_qdap}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The boolean_qdap object} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints a boolean_qdap object 16 | } 17 | -------------------------------------------------------------------------------- /man/print.check_spelling.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/check_spelling.R 3 | \name{print.check_spelling} 4 | \alias{print.check_spelling} 5 | \title{Prints a check_spelling Object} 6 | \usage{ 7 | \method{print}{check_spelling}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The check_spelling object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints a check_spelling object. 16 | } 17 | -------------------------------------------------------------------------------- /man/print.check_spelling_interactive.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/check_spelling.R 3 | \name{print.check_spelling_interactive} 4 | \alias{print.check_spelling_interactive} 5 | \title{Prints a check_spelling_interactive Object} 6 | \usage{ 7 | \method{print}{check_spelling_interactive}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The check_spelling_interactive object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints a check_spelling_interactive object. 16 | } 17 | -------------------------------------------------------------------------------- /man/print.check_text.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/check_text.R 3 | \name{print.check_text} 4 | \alias{print.check_text} 5 | \title{Prints a check_text Object} 6 | \usage{ 7 | \method{print}{check_text}(x, include.text = TRUE, file = NULL, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The check_text object.} 11 | 12 | \item{include.text}{logical. If \code{TRUE} the offending text is printed as 13 | well.} 14 | 15 | \item{file}{A connection, or a character string naming the file to print to. 16 | If \code{NULL} prints to the console.} 17 | 18 | \item{\ldots}{ignored} 19 | } 20 | \description{ 21 | Prints a check_text object. 22 | } 23 | -------------------------------------------------------------------------------- /man/print.coleman_liau.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/automated_readability_index.R 3 | \name{print.coleman_liau} 4 | \alias{print.coleman_liau} 5 | \title{Prints an coleman_liau Object} 6 | \usage{ 7 | \method{print}{coleman_liau}(x, digits = 3, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The coleman_liau object.} 11 | 12 | \item{digits}{The number of digits displayed if \code{values} is \code{TRUE}.} 13 | 14 | \item{\ldots}{ignored} 15 | } 16 | \description{ 17 | Prints an coleman_liau object. 18 | } 19 | -------------------------------------------------------------------------------- /man/print.colsplit2df.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/colsplit2df.R 3 | \name{print.colsplit2df} 4 | \alias{print.colsplit2df} 5 | \title{Prints a colsplit2df Object.} 6 | \usage{ 7 | \method{print}{colsplit2df}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The colsplit2df object} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints a colsplit2df object. 16 | } 17 | -------------------------------------------------------------------------------- /man/print.combo_syllable_sum.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/syllable_sum.R 3 | \name{print.combo_syllable_sum} 4 | \alias{print.combo_syllable_sum} 5 | \title{Prints an combo_syllable_sum object} 6 | \usage{ 7 | \method{print}{combo_syllable_sum}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The combo_syllable_sum object} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints an combo_syllable_sum object 16 | } 17 | -------------------------------------------------------------------------------- /man/print.cumulative_animated_formality.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/formality.R 3 | \name{print.cumulative_animated_formality} 4 | \alias{print.cumulative_animated_formality} 5 | \title{Prints a cumulative_animated_formality Object} 6 | \usage{ 7 | \method{print}{cumulative_animated_formality}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The cumulative_animated_formality object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints a cumulative_animated_formality object. 16 | } 17 | -------------------------------------------------------------------------------- /man/print.cumulative_animated_lexical_classification.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/lexical_classification.R 3 | \name{print.cumulative_animated_lexical_classification} 4 | \alias{print.cumulative_animated_lexical_classification} 5 | \title{Prints a cumulative_animated_lexical_classification Object} 6 | \usage{ 7 | \method{print}{cumulative_animated_lexical_classification}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The cumulative_animated_lexical_classification object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints a cumulative_animated_lexical_classification object. 16 | } 17 | -------------------------------------------------------------------------------- /man/print.cumulative_animated_polarity.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/polarity.R 3 | \name{print.cumulative_animated_polarity} 4 | \alias{print.cumulative_animated_polarity} 5 | \title{Prints a cumulative_animated_polarity Object} 6 | \usage{ 7 | \method{print}{cumulative_animated_polarity}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The cumulative_animated_polarity object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints a cumulative_animated_polarity object. 16 | } 17 | -------------------------------------------------------------------------------- /man/print.cumulative_combo_syllable_sum.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/syllable_sum.R 3 | \name{print.cumulative_combo_syllable_sum} 4 | \alias{print.cumulative_combo_syllable_sum} 5 | \title{Prints a cumulative_combo_syllable_sum Object} 6 | \usage{ 7 | \method{print}{cumulative_combo_syllable_sum}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The cumulative_combo_syllable_sum object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints a cumulative_combo_syllable_sum object. 16 | } 17 | -------------------------------------------------------------------------------- /man/print.cumulative_end_mark.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/end_mark.R 3 | \name{print.cumulative_end_mark} 4 | \alias{print.cumulative_end_mark} 5 | \title{Prints a cumulative_end_mark Object} 6 | \usage{ 7 | \method{print}{cumulative_end_mark}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The cumulative_end_mark object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints a cumulative_end_mark object. 16 | } 17 | -------------------------------------------------------------------------------- /man/print.cumulative_formality.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/formality.R 3 | \name{print.cumulative_formality} 4 | \alias{print.cumulative_formality} 5 | \title{Prints a cumulative_formality Object} 6 | \usage{ 7 | \method{print}{cumulative_formality}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The cumulative_formality object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints a cumulative_formality object. 16 | } 17 | -------------------------------------------------------------------------------- /man/print.cumulative_lexical_classification.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/lexical_classification.R 3 | \name{print.cumulative_lexical_classification} 4 | \alias{print.cumulative_lexical_classification} 5 | \title{Prints a cumulative_lexical_classification Object} 6 | \usage{ 7 | \method{print}{cumulative_lexical_classification}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The cumulative_lexical_classification object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints a cumulative_lexical_classification object. 16 | } 17 | -------------------------------------------------------------------------------- /man/print.cumulative_polarity.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/polarity.R 3 | \name{print.cumulative_polarity} 4 | \alias{print.cumulative_polarity} 5 | \title{Prints a cumulative_polarity Object} 6 | \usage{ 7 | \method{print}{cumulative_polarity}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The cumulative_polarity object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints a cumulative_polarity object. 16 | } 17 | -------------------------------------------------------------------------------- /man/print.cumulative_syllable_freq.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/syllable_sum.R 3 | \name{print.cumulative_syllable_freq} 4 | \alias{print.cumulative_syllable_freq} 5 | \title{Prints a cumulative_syllable_freqObject} 6 | \usage{ 7 | \method{print}{cumulative_syllable_freq}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The cumulative_syllable_freqobject.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints a cumulative_syllable_freq object. 16 | } 17 | -------------------------------------------------------------------------------- /man/print.discourse_map.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/discourse_map.R 3 | \name{print.discourse_map} 4 | \alias{print.discourse_map} 5 | \title{Prints a discourse_map Object} 6 | \usage{ 7 | \method{print}{discourse_map}(x, edge.curved = TRUE, title = NULL, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The discourse_map object.} 11 | 12 | \item{edge.curved}{logical. If \code{TRUE} edges are plotted with curves.} 13 | 14 | \item{title}{The title of the plot.} 15 | 16 | \item{\ldots}{Other Arguments passed to \code{\link[igraph]{plot.igraph}}.} 17 | } 18 | \description{ 19 | Prints a discourse_map object. 20 | } 21 | -------------------------------------------------------------------------------- /man/print.diversity.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/diversity.R 3 | \name{print.diversity} 4 | \alias{print.diversity} 5 | \title{Prints a diversity object} 6 | \usage{ 7 | \method{print}{diversity}(x, digits = 3, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The diversity object} 11 | 12 | \item{digits}{Number of decimal places to print.} 13 | 14 | \item{\ldots}{ignored} 15 | } 16 | \description{ 17 | Prints a diversity object. 18 | } 19 | -------------------------------------------------------------------------------- /man/print.end_mark.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/end_mark.R 3 | \name{print.end_mark} 4 | \alias{print.end_mark} 5 | \title{Prints an end_mark object} 6 | \usage{ 7 | \method{print}{end_mark}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The end_mark object} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints an end_mark object 16 | } 17 | -------------------------------------------------------------------------------- /man/print.end_mark_by.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/end_mark.R 3 | \name{print.end_mark_by} 4 | \alias{print.end_mark_by} 5 | \title{Prints an end_mark_by object} 6 | \usage{ 7 | \method{print}{end_mark_by}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The end_mark_by object} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints an end_mark_by object 16 | } 17 | -------------------------------------------------------------------------------- /man/print.end_mark_by_preprocessed.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/end_mark.R 3 | \name{print.end_mark_by_preprocessed} 4 | \alias{print.end_mark_by_preprocessed} 5 | \title{Prints a end_mark_by_preprocessed object} 6 | \usage{ 7 | \method{print}{end_mark_by_preprocessed}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The end_mark_by_preprocessed object} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints a end_mark_by_preprocessed object 16 | } 17 | -------------------------------------------------------------------------------- /man/print.flesch_kincaid.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/automated_readability_index.R 3 | \name{print.flesch_kincaid} 4 | \alias{print.flesch_kincaid} 5 | \title{Prints an flesch_kincaid Object} 6 | \usage{ 7 | \method{print}{flesch_kincaid}(x, digits = 3, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The flesch_kincaid object.} 11 | 12 | \item{digits}{The number of digits displayed if \code{values} is \code{TRUE}.} 13 | 14 | \item{\ldots}{ignored} 15 | } 16 | \description{ 17 | Prints an flesch_kincaid object. 18 | } 19 | -------------------------------------------------------------------------------- /man/print.formality.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/formality.R 3 | \name{print.formality} 4 | \alias{print.formality} 5 | \title{Prints a formality Object} 6 | \usage{ 7 | \method{print}{formality}(x, digits, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The formality object.} 11 | 12 | \item{digits}{The number of digits to print.} 13 | 14 | \item{\ldots}{ignored} 15 | } 16 | \description{ 17 | Prints a formality object. 18 | } 19 | -------------------------------------------------------------------------------- /man/print.formality_scores.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/formality.R 3 | \name{print.formality_scores} 4 | \alias{print.formality_scores} 5 | \title{Prints a formality_scores object} 6 | \usage{ 7 | \method{print}{formality_scores}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The formality_scores object} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints a formality_scores object 16 | } 17 | -------------------------------------------------------------------------------- /man/print.inspect_text.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/inspect_text.R 3 | \name{print.inspect_text} 4 | \alias{print.inspect_text} 5 | \title{Prints an inspect_text Object} 6 | \usage{ 7 | \method{print}{inspect_text}(x, file = "", ...) 8 | } 9 | \arguments{ 10 | \item{x}{The inspect_text object.} 11 | 12 | \item{file}{A connection, or a character string naming the file to print to. If \code{""} 13 | (the default), prints to the standard output connection, the console unless redirected 14 | by \code{\link[base]{sink}}.} 15 | 16 | \item{\ldots}{Other arguments passed to \code{\link[base]{strwrap}}.} 17 | } 18 | \description{ 19 | Prints an inspect_text object. 20 | } 21 | -------------------------------------------------------------------------------- /man/print.kullback_leibler.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/kullback_leibler.R 3 | \name{print.kullback_leibler} 4 | \alias{print.kullback_leibler} 5 | \title{Prints a kullback_leibler Object.} 6 | \usage{ 7 | \method{print}{kullback_leibler}(x, digits = 3, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The kullback_leibler object} 11 | 12 | \item{digits}{Number of decimal places to print.} 13 | 14 | \item{\ldots}{ignored} 15 | } 16 | \description{ 17 | Prints a kullback_leibler object. 18 | } 19 | -------------------------------------------------------------------------------- /man/print.lexical_classification.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/lexical_classification.R 3 | \name{print.lexical_classification} 4 | \alias{print.lexical_classification} 5 | \title{Prints an lexical_classification Object} 6 | \usage{ 7 | \method{print}{lexical_classification}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The lexical_classification object.} 11 | 12 | \item{\ldots}{Other arguments passed to 13 | \code{\link[qdap]{print.lexical_classification_by}}.} 14 | } 15 | \description{ 16 | Prints an lexical_classification object. 17 | } 18 | -------------------------------------------------------------------------------- /man/print.lexical_classification_by.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/lexical_classification.R 3 | \name{print.lexical_classification_by} 4 | \alias{print.lexical_classification_by} 5 | \title{Prints a lexical_classification Object} 6 | \usage{ 7 | \method{print}{lexical_classification_by}(x, ave.digits = 1, se.digits = 2, trunc = 25, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The lexical_classification_by object.} 11 | 12 | \item{ave.digits}{The number of average lexical distribution proportion 13 | digits to print.} 14 | 15 | \item{se.digits}{The number of standard error of the lexical distribution 16 | proportion digits to print.} 17 | 18 | \item{trunc}{The width to truncate content/function word lists.} 19 | 20 | \item{\ldots}{ignored} 21 | } 22 | \description{ 23 | Prints a lexical_classification_by object. 24 | } 25 | -------------------------------------------------------------------------------- /man/print.lexical_classification_preprocessed.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/lexical_classification.R 3 | \name{print.lexical_classification_preprocessed} 4 | \alias{print.lexical_classification_preprocessed} 5 | \title{Prints a lexical_classification_preprocessed Object} 6 | \usage{ 7 | \method{print}{lexical_classification_preprocessed}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The lexical_classification_preprocessed object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints a lexical_classification_preprocessed object. 16 | } 17 | -------------------------------------------------------------------------------- /man/print.lexical_classification_score.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/lexical_classification.R 3 | \name{print.lexical_classification_score} 4 | \alias{print.lexical_classification_score} 5 | \title{Prints a lexical_classification_score Object} 6 | \usage{ 7 | \method{print}{lexical_classification_score}(x, digits = 3, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The lexical_classification_score object.} 11 | 12 | \item{digits}{The number of digits displayed if \code{values} is \code{TRUE}.} 13 | 14 | \item{\ldots}{ignored} 15 | } 16 | \description{ 17 | Prints a lexical_classification_score object. 18 | } 19 | -------------------------------------------------------------------------------- /man/print.linsear_write.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/automated_readability_index.R 3 | \name{print.linsear_write} 4 | \alias{print.linsear_write} 5 | \title{Prints an linsear_write Object} 6 | \usage{ 7 | \method{print}{linsear_write}(x, digits = 3, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The linsear_write object.} 11 | 12 | \item{digits}{The number of digits displayed if \code{values} is \code{TRUE}.} 13 | 14 | \item{\ldots}{ignored} 15 | } 16 | \description{ 17 | Prints an linsear_write object. 18 | } 19 | -------------------------------------------------------------------------------- /man/print.linsear_write_count.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/automated_readability_index.R 3 | \name{print.linsear_write_count} 4 | \alias{print.linsear_write_count} 5 | \title{Prints a linsear_write_count Object} 6 | \usage{ 7 | \method{print}{linsear_write_count}(x, digits = 3, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The linsear_write_count object.} 11 | 12 | \item{digits}{The number of digits displayed.} 13 | 14 | \item{\ldots}{ignored} 15 | } 16 | \description{ 17 | Prints a linsear_write_count object. 18 | } 19 | -------------------------------------------------------------------------------- /man/print.linsear_write_scores.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/automated_readability_index.R 3 | \name{print.linsear_write_scores} 4 | \alias{print.linsear_write_scores} 5 | \title{Prints a linsear_write_scores Object} 6 | \usage{ 7 | \method{print}{linsear_write_scores}(x, digits = 3, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The linsear_write_scores object.} 11 | 12 | \item{digits}{The number of digits displayed.} 13 | 14 | \item{\ldots}{ignored} 15 | } 16 | \description{ 17 | Prints a linsear_write_scores object. 18 | } 19 | -------------------------------------------------------------------------------- /man/print.ngrams.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/ngrams.R 3 | \name{print.ngrams} 4 | \alias{print.ngrams} 5 | \title{Prints an ngrams object} 6 | \usage{ 7 | \method{print}{ngrams}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The ngrams object} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints an ngrams object 16 | } 17 | -------------------------------------------------------------------------------- /man/print.object_pronoun_type.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/object_pronoun_type.R 3 | \name{print.object_pronoun_type} 4 | \alias{print.object_pronoun_type} 5 | \title{Prints a object_pronoun_type object} 6 | \usage{ 7 | \method{print}{object_pronoun_type}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The object_pronoun_type object} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints a object_pronoun_type object 16 | } 17 | -------------------------------------------------------------------------------- /man/print.phrase_net.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/phrase_net.R 3 | \name{print.phrase_net} 4 | \alias{print.phrase_net} 5 | \title{Prints a phrase_net Object} 6 | \usage{ 7 | \method{print}{phrase_net}(x, edge.curved = TRUE, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The phrase_net object.} 11 | 12 | \item{edge.curved}{logical. If \code{TRUE} edges are plotted with curves.} 13 | 14 | \item{\ldots}{Other Arguments passed to \code{\link[igraph]{plot.igraph}}.} 15 | } 16 | \description{ 17 | Prints a phrase_net object. 18 | } 19 | -------------------------------------------------------------------------------- /man/print.polarity.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/polarity.R 3 | \name{print.polarity} 4 | \alias{print.polarity} 5 | \title{Prints an polarity Object} 6 | \usage{ 7 | \method{print}{polarity}(x, digits = 3, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The polarity object.} 11 | 12 | \item{digits}{The number of digits displayed if \code{values} is \code{TRUE}.} 13 | 14 | \item{\ldots}{ignored} 15 | } 16 | \description{ 17 | Prints an polarity object. 18 | } 19 | -------------------------------------------------------------------------------- /man/print.polarity_count.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/polarity.R 3 | \name{print.polarity_count} 4 | \alias{print.polarity_count} 5 | \title{Prints a polarity_count Object} 6 | \usage{ 7 | \method{print}{polarity_count}(x, digits = 3, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The polarity_count object.} 11 | 12 | \item{digits}{The number of digits displayed.} 13 | 14 | \item{\ldots}{ignored} 15 | } 16 | \description{ 17 | Prints a polarity_count object. 18 | } 19 | -------------------------------------------------------------------------------- /man/print.polarity_score.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/polarity.R 3 | \name{print.polarity_score} 4 | \alias{print.polarity_score} 5 | \title{Prints a polarity_score Object} 6 | \usage{ 7 | \method{print}{polarity_score}(x, digits = 3, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The polarity_score object.} 11 | 12 | \item{digits}{The number of digits displayed if \code{values} is \code{TRUE}.} 13 | 14 | \item{\ldots}{ignored} 15 | } 16 | \description{ 17 | Prints a polarity_score object. 18 | } 19 | -------------------------------------------------------------------------------- /man/print.polysyllable_sum.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/syllable_sum.R 3 | \name{print.polysyllable_sum} 4 | \alias{print.polysyllable_sum} 5 | \title{Prints an polysyllable_sum object} 6 | \usage{ 7 | \method{print}{polysyllable_sum}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The polysyllable_sum object} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints an polysyllable_sum object 16 | } 17 | -------------------------------------------------------------------------------- /man/print.pos.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/pos.R 3 | \name{print.pos} 4 | \alias{print.pos} 5 | \title{Prints a pos Object.} 6 | \usage{ 7 | \method{print}{pos}(x, digits = 1, percent = NULL, zero.replace = NULL, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The pos object} 11 | 12 | \item{digits}{Integer values specifying the number of digits to be 13 | printed.} 14 | 15 | \item{percent}{logical. If TRUE output given as percent. If FALSE the 16 | output is proportion. If NULL uses the value from 17 | \code{\link[qdap]{termco}}. Only used if \code{label} is TRUE.} 18 | 19 | \item{zero.replace}{Value to replace 0 values with. If NULL uses the value 20 | from \code{\link[qdap]{termco}}. Only used if \code{label} is TRUE.} 21 | 22 | \item{\ldots}{ignored} 23 | } 24 | \description{ 25 | Prints a pos object. 26 | } 27 | -------------------------------------------------------------------------------- /man/print.pos_by.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/pos.R 3 | \name{print.pos_by} 4 | \alias{print.pos_by} 5 | \title{Prints a pos_by Object.} 6 | \usage{ 7 | \method{print}{pos_by}(x, digits = 1, percent = NULL, zero.replace = NULL, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The pos_by object} 11 | 12 | \item{digits}{Integer values specifying the number of digits to be 13 | printed.} 14 | 15 | \item{percent}{logical. If TRUE output given as percent. If FALSE the 16 | output is proportion. If NULL uses the value from 17 | \code{\link[qdap]{termco}}. Only used if \code{label} is TRUE.} 18 | 19 | \item{zero.replace}{Value to replace 0 values with. If NULL uses the value 20 | from \code{\link[qdap]{termco}}. Only used if \code{label} is TRUE.} 21 | 22 | \item{\ldots}{ignored} 23 | } 24 | \description{ 25 | Prints a pos_by object. 26 | } 27 | -------------------------------------------------------------------------------- /man/print.pos_preprocessed.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/formality.R 3 | \name{print.pos_preprocessed} 4 | \alias{print.pos_preprocessed} 5 | \title{Prints a pos_preprocessed object} 6 | \usage{ 7 | \method{print}{pos_preprocessed}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The pos_preprocessed object} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints a pos_preprocessed object 16 | } 17 | -------------------------------------------------------------------------------- /man/print.pronoun_type.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/pronoun_type.R 3 | \name{print.pronoun_type} 4 | \alias{print.pronoun_type} 5 | \title{Prints a pronoun_type object} 6 | \usage{ 7 | \method{print}{pronoun_type}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The pronoun_type object} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints a pronoun_type object 16 | } 17 | -------------------------------------------------------------------------------- /man/print.qdapProj.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/new_project.R 3 | \name{print.qdapProj} 4 | \alias{print.qdapProj} 5 | \title{Prints a qdapProj Object} 6 | \usage{ 7 | \method{print}{qdapProj}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The qdapProj object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints a qdapProj object. 16 | } 17 | -------------------------------------------------------------------------------- /man/print.question_type.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/question_type.R 3 | \name{print.question_type} 4 | \alias{print.question_type} 5 | \title{Prints a question_type object} 6 | \usage{ 7 | \method{print}{question_type}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The question_type object} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints a question_type object 16 | } 17 | -------------------------------------------------------------------------------- /man/print.question_type_preprocessed.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/question_type.R 3 | \name{print.question_type_preprocessed} 4 | \alias{print.question_type_preprocessed} 5 | \title{Prints a question_type_preprocessed object} 6 | \usage{ 7 | \method{print}{question_type_preprocessed}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The question_type_preprocessed object} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints a question_type_preprocessed object 16 | } 17 | -------------------------------------------------------------------------------- /man/print.readability_count.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/automated_readability_index.R 3 | \name{print.readability_count} 4 | \alias{print.readability_count} 5 | \title{Prints a readability_count Object} 6 | \usage{ 7 | \method{print}{readability_count}(x, digits = 3, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The readability_count object.} 11 | 12 | \item{digits}{The number of digits displayed.} 13 | 14 | \item{\ldots}{ignored} 15 | } 16 | \description{ 17 | Prints a readability_count object. 18 | } 19 | -------------------------------------------------------------------------------- /man/print.readability_score.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/automated_readability_index.R 3 | \name{print.readability_score} 4 | \alias{print.readability_score} 5 | \title{Prints a readability_score Object} 6 | \usage{ 7 | \method{print}{readability_score}(x, digits = 3, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The readability_score object.} 11 | 12 | \item{digits}{The number of digits displayed if \code{values} is \code{TRUE}.} 13 | 14 | \item{\ldots}{ignored} 15 | } 16 | \description{ 17 | Prints a readability_score object. 18 | } 19 | -------------------------------------------------------------------------------- /man/print.sent_split.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/sentSplit.R 3 | \name{print.sent_split} 4 | \alias{print.sent_split} 5 | \title{Prints a sent_split object} 6 | \usage{ 7 | \method{print}{sent_split}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The sent_split object} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints a sent_split object 16 | } 17 | -------------------------------------------------------------------------------- /man/print.sub_holder.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/multigsub.R 3 | \name{print.sub_holder} 4 | \alias{print.sub_holder} 5 | \title{Prints a sub_holder object} 6 | \usage{ 7 | \method{print}{sub_holder}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The sub_holder object} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints a sub_holder object 16 | } 17 | -------------------------------------------------------------------------------- /man/print.subject_pronoun_type.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/subject_pronoun_type.R 3 | \name{print.subject_pronoun_type} 4 | \alias{print.subject_pronoun_type} 5 | \title{Prints a subject_pronoun_type object} 6 | \usage{ 7 | \method{print}{subject_pronoun_type}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The subject_pronoun_type object} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints a subject_pronoun_type object 16 | } 17 | -------------------------------------------------------------------------------- /man/print.sum_cmspans.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/cmspans.R 3 | \name{print.sum_cmspans} 4 | \alias{print.sum_cmspans} 5 | \title{Prints a sum_cmspans object} 6 | \usage{ 7 | \method{print}{sum_cmspans}(x, digits = NULL, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The sum_cmspans object} 11 | 12 | \item{digits}{Integer; number of decimal places to round in the display of 13 | the output.} 14 | 15 | \item{\ldots}{ignored} 16 | } 17 | \description{ 18 | Prints a sum_cmspans object. 19 | } 20 | -------------------------------------------------------------------------------- /man/print.sums_gantt.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/gantt.R 3 | \name{print.sums_gantt} 4 | \alias{print.sums_gantt} 5 | \title{Prints a sums_gantt object} 6 | \usage{ 7 | \method{print}{sums_gantt}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The sums_gantt object} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints a sums_gantt object. 16 | } 17 | -------------------------------------------------------------------------------- /man/print.syllable_sum.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/syllable_sum.R 3 | \name{print.syllable_sum} 4 | \alias{print.syllable_sum} 5 | \title{Prints an syllable_sum object} 6 | \usage{ 7 | \method{print}{syllable_sum}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The syllable_sum object} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints an syllable_sum object 16 | } 17 | -------------------------------------------------------------------------------- /man/print.table_count.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/table_methods.R 3 | \name{print.table_count} 4 | \alias{print.table_count} 5 | \title{Prints a table_count object} 6 | \usage{ 7 | \method{print}{table_count}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The table_count object} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints a table_count object 16 | } 17 | -------------------------------------------------------------------------------- /man/print.table_proportion.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/table_methods.R 3 | \name{print.table_proportion} 4 | \alias{print.table_proportion} 5 | \title{Prints a table_proportion object} 6 | \usage{ 7 | \method{print}{table_proportion}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The table_proportion object} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints a table_proportion object 16 | } 17 | -------------------------------------------------------------------------------- /man/print.table_score.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/table_methods.R 3 | \name{print.table_score} 4 | \alias{print.table_score} 5 | \title{Prints a table_score object} 6 | \usage{ 7 | \method{print}{table_score}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The table_score object} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints a table_score object 16 | } 17 | -------------------------------------------------------------------------------- /man/print.termco.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/termco.R 3 | \name{print.termco} 4 | \alias{print.termco} 5 | \title{Prints a termco object.} 6 | \usage{ 7 | \method{print}{termco}(x, digits = NULL, percent = NULL, zero.replace = NULL, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The termco object} 11 | 12 | \item{digits}{Integer values specifying the number of digits to be 13 | printed.} 14 | 15 | \item{percent}{logical. If TRUE output given as percent. If FALSE the 16 | output is proportion. If NULL uses the value from 17 | \code{\link[qdap]{termco}}. Only used if \code{label} is TRUE.} 18 | 19 | \item{zero.replace}{Value to replace 0 values with. If NULL uses the value 20 | from \code{\link[qdap]{termco}}. Only used if \code{label} is TRUE.} 21 | 22 | \item{\ldots}{ignored} 23 | } 24 | \description{ 25 | Prints a termco object. 26 | } 27 | -------------------------------------------------------------------------------- /man/print.trunc.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/htruncdf.R 3 | \name{print.trunc} 4 | \alias{print.trunc} 5 | \title{Prints a trunc object} 6 | \usage{ 7 | \method{print}{trunc}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The trunc object} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints a trunc object 16 | } 17 | -------------------------------------------------------------------------------- /man/print.type_token_ratio.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/type_token_ratio.R 3 | \name{print.type_token_ratio} 4 | \alias{print.type_token_ratio} 5 | \title{Prints a type_token_ratio Object} 6 | \usage{ 7 | \method{print}{type_token_ratio}(x, digits = 3, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The type_token_ratio object.} 11 | 12 | \item{digits}{The number of type-token ratio digits to print.} 13 | 14 | \item{\ldots}{ignored} 15 | } 16 | \description{ 17 | Prints a type_token_ratio object. 18 | } 19 | -------------------------------------------------------------------------------- /man/print.wfm.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/wfm.R 3 | \name{print.wfm} 4 | \alias{print.wfm} 5 | \title{Prints a wfm Object} 6 | \usage{ 7 | \method{print}{wfm}(x, digits = 3, width = 10000, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The wfm object.} 11 | 12 | \item{digits}{The number of digits displayed if \code{values} is \code{TRUE}.} 13 | 14 | \item{width}{The width to temporarily set for printing (default = 10000). 15 | See \code{\link[base]{options}} for more.} 16 | 17 | \item{\ldots}{ignored} 18 | } 19 | \description{ 20 | Prints a wfm object. 21 | } 22 | -------------------------------------------------------------------------------- /man/print.wfm_summary.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/wfm.R 3 | \name{print.wfm_summary} 4 | \alias{print.wfm_summary} 5 | \title{Prints a wfm_summary Object} 6 | \usage{ 7 | \method{print}{wfm_summary}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The wfm_summary object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints a wfm_summary object. 16 | } 17 | -------------------------------------------------------------------------------- /man/print.which_misspelled.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/check_spelling.R 3 | \name{print.which_misspelled} 4 | \alias{print.which_misspelled} 5 | \title{Prints a which_misspelled Object} 6 | \usage{ 7 | \method{print}{which_misspelled}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The which_misspelled object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints a which_misspelled object. 16 | } 17 | -------------------------------------------------------------------------------- /man/print.word_associate.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/word_associate.R 3 | \name{print.word_associate} 4 | \alias{print.word_associate} 5 | \title{Prints a word_associate object} 6 | \usage{ 7 | \method{print}{word_associate}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The word_associate object} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints a word_associate object. 16 | } 17 | -------------------------------------------------------------------------------- /man/print.word_cor.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/word_cor.R 3 | \name{print.word_cor} 4 | \alias{print.word_cor} 5 | \title{Prints a word_cor object} 6 | \usage{ 7 | \method{print}{word_cor}(x, digits = 3, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The word_cor object} 11 | 12 | \item{digits}{The number of digits to print} 13 | 14 | \item{\ldots}{ignored} 15 | } 16 | \description{ 17 | Prints a word_cor object 18 | } 19 | -------------------------------------------------------------------------------- /man/print.word_length.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/word_length.R 3 | \name{print.word_length} 4 | \alias{print.word_length} 5 | \title{Prints a word_length object} 6 | \usage{ 7 | \method{print}{word_length}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The word_length object} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints a word_length object 16 | } 17 | -------------------------------------------------------------------------------- /man/print.word_list.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/word_list.R 3 | \name{print.word_list} 4 | \alias{print.word_list} 5 | \title{Prints a word_list Object} 6 | \usage{ 7 | \method{print}{word_list}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The word_list object} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints a word_list object. 16 | } 17 | -------------------------------------------------------------------------------- /man/print.word_position.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/word_position.R 3 | \name{print.word_position} 4 | \alias{print.word_position} 5 | \title{Prints a word_position object.} 6 | \usage{ 7 | \method{print}{word_position}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The word_position object} 11 | 12 | \item{\ldots}{Values passed to \code{plot.word_position}} 13 | } 14 | \description{ 15 | Prints a word_position object. 16 | } 17 | -------------------------------------------------------------------------------- /man/print.word_proximity.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/word_proximity.R 3 | \name{print.word_proximity} 4 | \alias{print.word_proximity} 5 | \title{Prints a word_proximity object} 6 | \usage{ 7 | \method{print}{word_proximity}(x, digits = NULL, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The word_proximity object} 11 | 12 | \item{digits}{The number of digits to print} 13 | 14 | \item{\ldots}{ignored} 15 | } 16 | \description{ 17 | Prints a word_proximity object 18 | } 19 | -------------------------------------------------------------------------------- /man/print.word_stats.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/word_stats.R 3 | \name{print.word_stats} 4 | \alias{print.word_stats} 5 | \title{Prints a word_stats object} 6 | \usage{ 7 | \method{print}{word_stats}(x, digits = NULL, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The word_stats object} 11 | 12 | \item{digits}{Integer; number of decimal places to round in the display of 13 | the output.} 14 | 15 | \item{\ldots}{ignored} 16 | } 17 | \description{ 18 | Prints a word_stats object. 19 | } 20 | -------------------------------------------------------------------------------- /man/print.word_stats_counts.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/word_stats.R 3 | \name{print.word_stats_counts} 4 | \alias{print.word_stats_counts} 5 | \title{Prints a word_stats_counts object} 6 | \usage{ 7 | \method{print}{word_stats_counts}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The word_stats_counts object} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | Prints a word_stats_counts object 16 | } 17 | -------------------------------------------------------------------------------- /man/proportions.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/proportions.R 3 | \name{proportions} 4 | \alias{proportions} 5 | \title{Generic Proportions Method} 6 | \usage{ 7 | proportions(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{A qdap object (list) with a proportions dataframe (e.g., 11 | \code{\link[qdap]{termco}}).} 12 | 13 | \item{\ldots}{Arguments passed to proportions method of other classes.} 14 | } 15 | \value{ 16 | Returns a data.frame of proportions. 17 | } 18 | \description{ 19 | Access the proportions dataframes from select qdap outputs. 20 | } 21 | \seealso{ 22 | \code{\link[qdap]{scores}}, 23 | \code{\link[qdap]{counts}}, 24 | \code{\link[qdap]{preprocessed}}, 25 | \code{\link[qdap]{visual}} 26 | } 27 | -------------------------------------------------------------------------------- /man/proportions.character_table.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/word_count.R 3 | \name{proportions.character_table} 4 | \alias{proportions.character_table} 5 | \title{Term Counts} 6 | \usage{ 7 | \method{proportions}{character_table}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The character_table object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View \code{\link[qdap]{character_table}} proportions. 16 | } 17 | \details{ 18 | character_table Method for proportions 19 | } 20 | -------------------------------------------------------------------------------- /man/proportions.end_mark_by.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/end_mark.R 3 | \name{proportions.end_mark_by} 4 | \alias{proportions.end_mark_by} 5 | \title{Question Counts} 6 | \usage{ 7 | \method{proportions}{end_mark_by}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The end_mark_by object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View \code{\link[qdap]{end_mark_by}} proportions. 16 | } 17 | \details{ 18 | end_mark_by Method for proportions 19 | } 20 | -------------------------------------------------------------------------------- /man/proportions.formality.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/formality.R 3 | \name{proportions.formality} 4 | \alias{proportions.formality} 5 | \title{Formality} 6 | \usage{ 7 | \method{proportions}{formality}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The formality object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View \code{\link[qdap]{formality}} proportions. 16 | } 17 | \details{ 18 | formality Method for proportions 19 | } 20 | -------------------------------------------------------------------------------- /man/proportions.object_pronoun_type.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/object_pronoun_type.R 3 | \name{proportions.object_pronoun_type} 4 | \alias{proportions.object_pronoun_type} 5 | \title{Question Counts} 6 | \usage{ 7 | \method{proportions}{object_pronoun_type}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The object_pronoun_type object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View \code{\link[qdap]{object_pronoun_type}} proportions. 16 | } 17 | \details{ 18 | object_pronoun_type Method for proportions 19 | } 20 | -------------------------------------------------------------------------------- /man/proportions.pos.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/pos.R 3 | \name{proportions.pos} 4 | \alias{proportions.pos} 5 | \title{Parts of Speech} 6 | \usage{ 7 | \method{proportions}{pos}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The pos object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View \code{\link[qdap]{pos}} proportions. 16 | } 17 | \details{ 18 | pos Method for proportions 19 | } 20 | -------------------------------------------------------------------------------- /man/proportions.pos_by.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/pos.R 3 | \name{proportions.pos_by} 4 | \alias{proportions.pos_by} 5 | \title{Parts of Speech} 6 | \usage{ 7 | \method{proportions}{pos_by}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The pos_by object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View \code{\link[qdap]{pos_by}} proportions. 16 | } 17 | \details{ 18 | pos_by Method for proportions 19 | } 20 | -------------------------------------------------------------------------------- /man/proportions.pronoun_type.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/pronoun_type.R 3 | \name{proportions.pronoun_type} 4 | \alias{proportions.pronoun_type} 5 | \title{Question Counts} 6 | \usage{ 7 | \method{proportions}{pronoun_type}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The pronoun_type object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View \code{\link[qdap]{pronoun_type}} proportions. 16 | } 17 | \details{ 18 | pronoun_type Method for proportions 19 | } 20 | -------------------------------------------------------------------------------- /man/proportions.question_type.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/question_type.R 3 | \name{proportions.question_type} 4 | \alias{proportions.question_type} 5 | \title{Question Counts} 6 | \usage{ 7 | \method{proportions}{question_type}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The question_type object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View \code{\link[qdap]{question_type}} proportions. 16 | } 17 | \details{ 18 | question_type Method for proportions 19 | } 20 | -------------------------------------------------------------------------------- /man/proportions.subject_pronoun_type.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/subject_pronoun_type.R 3 | \name{proportions.subject_pronoun_type} 4 | \alias{proportions.subject_pronoun_type} 5 | \title{Question Counts} 6 | \usage{ 7 | \method{proportions}{subject_pronoun_type}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The subject_pronoun_type object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View \code{\link[qdap]{subject_pronoun_type}} proportions. 16 | } 17 | \details{ 18 | subject_pronoun_type Method for proportions 19 | } 20 | -------------------------------------------------------------------------------- /man/proportions.termco.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/termco.R 3 | \name{proportions.termco} 4 | \alias{proportions.termco} 5 | \title{Term Counts} 6 | \usage{ 7 | \method{proportions}{termco}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The termco object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View \code{\link[qdap]{termco}} proportions. 16 | } 17 | \details{ 18 | termco Method for proportions 19 | } 20 | -------------------------------------------------------------------------------- /man/proportions.word_length.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/word_length.R 3 | \name{proportions.word_length} 4 | \alias{proportions.word_length} 5 | \title{Word Length Counts} 6 | \usage{ 7 | \method{proportions}{word_length}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The word_length object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View \code{\link[qdap]{word_length}} proportions. 16 | } 17 | \details{ 18 | word_length Method for proportions 19 | } 20 | -------------------------------------------------------------------------------- /man/proportions.word_position.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/word_position.R 3 | \name{proportions.word_position} 4 | \alias{proportions.word_position} 5 | \title{Word Position} 6 | \usage{ 7 | \method{proportions}{word_position}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The word_position object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View \code{\link[qdap]{word_position}} proportions. 16 | } 17 | \details{ 18 | word_position Method for proportions 19 | } 20 | -------------------------------------------------------------------------------- /man/qdap.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/qdap-package.R 3 | \docType{package} 4 | \name{qdap} 5 | \alias{qdap} 6 | \alias{package-qdap} 7 | \title{qdap: Quantitative Discourse Analysis Package} 8 | \description{ 9 | This package automates many of the tasks associated with quantitative 10 | discourse analysis of transcripts containing discourse. The package 11 | provides parsing tools for preparing transcript data, coding tools and 12 | analysis tools for richer understanding of the data. Many functions 13 | allow the user to aggregate data by any number of grouping variables, 14 | providing analysis and seamless integration with other R packages which 15 | enable higher level analysis and visualization of text. This empowers 16 | the researcher with more flexible, efficient and targeted methods and tools. 17 | } 18 | -------------------------------------------------------------------------------- /man/raj.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/qdap-package.R 3 | \docType{data} 4 | \name{raj} 5 | \alias{raj} 6 | \title{Romeo and Juliet (Unchanged & Complete)} 7 | \format{ 8 | A data frame with 840 rows and 3 variables 9 | } 10 | \usage{ 11 | data(raj) 12 | } 13 | \description{ 14 | A dataset containing the original transcript from Romeo and Juliet as it was 15 | scraped from: \url{http://shakespeare.mit.edu/romeo_juliet/full.html}. 16 | } 17 | \details{ 18 | \itemize{ 19 | \item person. Character in the play 20 | \item dialogue. The spoken dialogue 21 | \item act. The act (akin to repeated measures) 22 | } 23 | } 24 | \references{ 25 | \url{http://shakespeare.mit.edu/romeo_juliet/full.html} 26 | } 27 | \keyword{datasets} 28 | -------------------------------------------------------------------------------- /man/raj.act.1.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/qdap-package.R 3 | \docType{data} 4 | \name{raj.act.1} 5 | \alias{raj.act.1} 6 | \title{Romeo and Juliet: Act 1} 7 | \format{ 8 | A data frame with 235 rows and 2 variables 9 | } 10 | \usage{ 11 | data(raj.act.1) 12 | } 13 | \description{ 14 | A dataset containing Romeo and Juliet: Act 1. 15 | } 16 | \details{ 17 | \itemize{ 18 | \item person. Character in the play 19 | \item dialogue. The spoken dialogue 20 | } 21 | } 22 | \references{ 23 | \url{http://shakespeare.mit.edu/romeo_juliet/full.html} 24 | } 25 | \keyword{datasets} 26 | -------------------------------------------------------------------------------- /man/raj.act.2.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/qdap-package.R 3 | \docType{data} 4 | \name{raj.act.2} 5 | \alias{raj.act.2} 6 | \title{Romeo and Juliet: Act 2} 7 | \format{ 8 | A data frame with 205 rows and 2 variables 9 | } 10 | \usage{ 11 | data(raj.act.2) 12 | } 13 | \description{ 14 | A dataset containing Romeo and Juliet: Act 2. 15 | } 16 | \details{ 17 | \itemize{ 18 | \item person. Character in the play 19 | \item dialogue. The spoken dialogue 20 | } 21 | } 22 | \references{ 23 | \url{http://shakespeare.mit.edu/romeo_juliet/full.html} 24 | } 25 | \keyword{datasets} 26 | -------------------------------------------------------------------------------- /man/raj.act.3.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/qdap-package.R 3 | \docType{data} 4 | \name{raj.act.3} 5 | \alias{raj.act.3} 6 | \title{Romeo and Juliet: Act 3} 7 | \format{ 8 | A data frame with 197 rows and 2 variables 9 | } 10 | \usage{ 11 | data(raj.act.3) 12 | } 13 | \description{ 14 | A dataset containing Romeo and Juliet: Act 3. 15 | } 16 | \details{ 17 | \itemize{ 18 | \item person. Character in the play 19 | \item dialogue. The spoken dialogue 20 | } 21 | } 22 | \references{ 23 | \url{http://shakespeare.mit.edu/romeo_juliet/full.html} 24 | } 25 | \keyword{datasets} 26 | -------------------------------------------------------------------------------- /man/raj.act.4.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/qdap-package.R 3 | \docType{data} 4 | \name{raj.act.4} 5 | \alias{raj.act.4} 6 | \title{Romeo and Juliet: Act 4} 7 | \format{ 8 | A data frame with 115 rows and 2 variables 9 | } 10 | \usage{ 11 | data(raj.act.4) 12 | } 13 | \description{ 14 | A dataset containing Romeo and Juliet: Act 4. 15 | } 16 | \details{ 17 | \itemize{ 18 | \item person. Character in the play 19 | \item dialogue. The spoken dialogue 20 | } 21 | } 22 | \references{ 23 | \url{http://shakespeare.mit.edu/romeo_juliet/full.html} 24 | } 25 | \keyword{datasets} 26 | -------------------------------------------------------------------------------- /man/raj.act.5.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/qdap-package.R 3 | \docType{data} 4 | \name{raj.act.5} 5 | \alias{raj.act.5} 6 | \title{Romeo and Juliet: Act 5} 7 | \format{ 8 | A data frame with 88 rows and 2 variables 9 | } 10 | \usage{ 11 | data(raj.act.5) 12 | } 13 | \description{ 14 | A dataset containing Romeo and Juliet: Act 5. 15 | } 16 | \details{ 17 | \itemize{ 18 | \item person. Character in the play 19 | \item dialogue. The spoken dialogue 20 | } 21 | } 22 | \references{ 23 | \url{http://shakespeare.mit.edu/romeo_juliet/full.html} 24 | } 25 | \keyword{datasets} 26 | -------------------------------------------------------------------------------- /man/raj.demographics.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/qdap-package.R 3 | \docType{data} 4 | \name{raj.demographics} 5 | \alias{raj.demographics} 6 | \title{Romeo and Juliet Demographics} 7 | \format{ 8 | A data frame with 34 rows and 4 variables 9 | } 10 | \usage{ 11 | data(raj.demographics) 12 | } 13 | \description{ 14 | A dataset containing Romeo and Juliet demographic information for the 15 | characters. 16 | } 17 | \details{ 18 | \itemize{ 19 | \item person. Character in the play 20 | \item sex. Gender 21 | \item fam.aff. Family affiliation of character 22 | \item died. Dummy coded death variable (0-no; 1-yes); if yes the character 23 | dies in the play 24 | } 25 | } 26 | \references{ 27 | \url{http://shakespeare.mit.edu/romeo_juliet/full.html} 28 | } 29 | \keyword{datasets} 30 | -------------------------------------------------------------------------------- /man/rajPOS.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/qdap-package.R 3 | \docType{data} 4 | \name{rajPOS} 5 | \alias{rajPOS} 6 | \title{Romeo and Juliet Split in Parts of Speech} 7 | \format{ 8 | A list with 4 elements 9 | } 10 | \usage{ 11 | data(rajPOS) 12 | } 13 | \description{ 14 | A dataset containing a list from \code{\link[qdap]{pos}} using the 15 | \code{\link[qdap]{raj}} data set (see \code{\link[qdap]{pos}} for more 16 | information). 17 | } 18 | \details{ 19 | \describe{ 20 | \item{text}{The original text} 21 | \item{POStagged}{The original words replaced with parts of speech in context.} 22 | \item{POSprop}{Dataframe of the proportion of parts of speech by row.} 23 | \item{POSfreq}{Dataframe of the frequency of parts of speech by row.} 24 | } 25 | } 26 | \references{ 27 | \url{http://shakespeare.mit.edu/romeo_juliet/full.html} 28 | } 29 | \keyword{datasets} 30 | -------------------------------------------------------------------------------- /man/rajSPLIT.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/qdap-package.R 3 | \docType{data} 4 | \name{rajSPLIT} 5 | \alias{rajSPLIT} 6 | \title{Romeo and Juliet (Complete & Split)} 7 | \format{ 8 | A data frame with 2151 rows and 8 variables 9 | } 10 | \usage{ 11 | data(rajSPLIT) 12 | } 13 | \description{ 14 | A dataset containing the complete dialogue of Romeo and Juliet with turns of 15 | talk split into sentences. 16 | } 17 | \details{ 18 | \itemize{ 19 | \item person. Character in the play 20 | \item sex. Gender 21 | \item fam.aff. Family affiliation of character 22 | \item died. Dummy coded death variable (0-no; 1-yes); if yes the character 23 | dies in the play 24 | \item dialogue. The spoken dialogue 25 | \item act. The act (akin to repeated measures) 26 | \item stem.text. Text that has been stemmed 27 | } 28 | } 29 | \references{ 30 | \url{http://shakespeare.mit.edu/romeo_juliet/full.html} 31 | } 32 | \keyword{datasets} 33 | -------------------------------------------------------------------------------- /man/raw.time.span.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/qdap-package.R 3 | \docType{data} 4 | \name{raw.time.span} 5 | \alias{raw.time.span} 6 | \title{Minimal Raw Time Span Data Set} 7 | \format{ 8 | A list with 3 elements 9 | } 10 | \usage{ 11 | data(raw.time.span) 12 | } 13 | \description{ 14 | A dataset containing a list of named vectors of time spans. 15 | } 16 | \keyword{datasets} 17 | -------------------------------------------------------------------------------- /man/replacer.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/replacer.R 3 | \name{replacer} 4 | \alias{replacer} 5 | \title{Replace Cells in a Matrix or Data Frame} 6 | \usage{ 7 | replacer(dat, replace = 0, with = "-") 8 | } 9 | \arguments{ 10 | \item{dat}{Data; either a dataframe, matrix or vector.} 11 | 12 | \item{replace}{Element to replace.} 13 | 14 | \item{with}{Replacement element.} 15 | } 16 | \value{ 17 | Returns a dataframe, matrix or vector with the element replaced. 18 | } 19 | \description{ 20 | Replace elements of a dataframe, matrix or vector with least restrictive 21 | class. 22 | } 23 | \examples{ 24 | \dontrun{ 25 | replacer(mtcars[1:10, ], 0, "REP") 26 | replacer(mtcars[1:10, ], 4, NA) 27 | replacer(c("a", "b"), "a", "foo") 28 | #replace missing values (NA) 29 | dat <- data.frame(matrix(sample(c(1:3, NA), 25, TRUE), ncol=5)) 30 | replacer(dat, NA, "FOO") 31 | } 32 | } 33 | \keyword{replace} 34 | -------------------------------------------------------------------------------- /man/sample.time.span.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/qdap-package.R 3 | \docType{data} 4 | \name{sample.time.span} 5 | \alias{sample.time.span} 6 | \title{Minimal Time Span Data Set} 7 | \format{ 8 | A data frame with 9 rows and 6 variables 9 | } 10 | \usage{ 11 | data(sample.time.span) 12 | } 13 | \description{ 14 | A fictitious dataset containing time spans for codes A and B. 15 | } 16 | \details{ 17 | \itemize{ 18 | \item code. The qualitative code. 19 | \item start. The integer start time. 20 | \item end. The integer end time. 21 | \item Start. The chron start time. 22 | \item End. The chron end time. 23 | \item variable. An arbitrary single time repeated measures variable (ignore). 24 | } 25 | } 26 | \keyword{datasets} 27 | -------------------------------------------------------------------------------- /man/scores.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/scores.R 3 | \name{scores} 4 | \alias{scores} 5 | \title{Generic Scores Method} 6 | \usage{ 7 | scores(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{A qdap object (list) with a dataframe of scores (e.g., 11 | \code{\link[qdap]{fry}}, \code{\link[qdap]{formality}}).} 12 | 13 | \item{\ldots}{Arguments passed to scores method of other classes.} 14 | } 15 | \value{ 16 | Returns a data.frame of scores. 17 | } 18 | \description{ 19 | Access the scores dataframes from select qdap outputs. 20 | } 21 | \seealso{ 22 | \code{\link[qdap]{counts}} 23 | 24 | \code{\link[qdap]{proportions}} 25 | 26 | \code{\link[qdap]{preprocessed}} 27 | } 28 | -------------------------------------------------------------------------------- /man/scores.SMOG.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/automated_readability_index.R 3 | \name{scores.SMOG} 4 | \alias{scores.SMOG} 5 | \title{Readability Measures} 6 | \usage{ 7 | \method{scores}{SMOG}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The SMOG object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | \code{scores.SMOG} - View scores from \code{\link[qdap]{SMOG}}. 16 | } 17 | \details{ 18 | SMOG Method for scores 19 | } 20 | -------------------------------------------------------------------------------- /man/scores.automated_readability_index.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/automated_readability_index.R 3 | \name{scores.automated_readability_index} 4 | \alias{scores.automated_readability_index} 5 | \title{Readability Measures} 6 | \usage{ 7 | \method{scores}{automated_readability_index}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The automated_readability_index object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | \code{scores.automated_readability_index} - View scores from \code{\link[qdap]{automated_readability_index}}. 16 | } 17 | \details{ 18 | automated_readability_index Method for scores 19 | } 20 | -------------------------------------------------------------------------------- /man/scores.character_table.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/word_count.R 3 | \name{scores.character_table} 4 | \alias{scores.character_table} 5 | \title{Term Counts} 6 | \usage{ 7 | \method{scores}{character_table}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The \code{\link[qdap]{character_table}} object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View character_table scores. 16 | } 17 | \details{ 18 | character_table Method for scores 19 | } 20 | -------------------------------------------------------------------------------- /man/scores.coleman_liau.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/automated_readability_index.R 3 | \name{scores.coleman_liau} 4 | \alias{scores.coleman_liau} 5 | \title{Readability Measures} 6 | \usage{ 7 | \method{scores}{coleman_liau}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The coleman_liau object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | \code{scores.coleman_liau} - View scores from \code{\link[qdap]{coleman_liau}}. 16 | } 17 | \details{ 18 | coleman_liau Method for scores 19 | } 20 | -------------------------------------------------------------------------------- /man/scores.end_mark_by.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/end_mark.R 3 | \name{scores.end_mark_by} 4 | \alias{scores.end_mark_by} 5 | \title{Question Counts} 6 | \usage{ 7 | \method{scores}{end_mark_by}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The \code{\link[qdap]{end_mark_by}} object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View end_mark_by scores. 16 | } 17 | \details{ 18 | end_mark_by Method for scores 19 | } 20 | -------------------------------------------------------------------------------- /man/scores.flesch_kincaid.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/automated_readability_index.R 3 | \name{scores.flesch_kincaid} 4 | \alias{scores.flesch_kincaid} 5 | \title{Readability Measures} 6 | \usage{ 7 | \method{scores}{flesch_kincaid}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The flesch_kincaid object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | \code{scores.flesch_kincaid} - View scores from \code{\link[qdap]{flesch_kincaid}}. 16 | } 17 | \details{ 18 | flesch_kincaid Method for scores 19 | } 20 | -------------------------------------------------------------------------------- /man/scores.formality.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/formality.R 3 | \name{scores.formality} 4 | \alias{scores.formality} 5 | \title{Formality} 6 | \usage{ 7 | \method{scores}{formality}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The \code{\link[qdap]{formality}} object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View formality scores. 16 | } 17 | \details{ 18 | formality Method for scores 19 | } 20 | -------------------------------------------------------------------------------- /man/scores.fry.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/automated_readability_index.R 3 | \name{scores.fry} 4 | \alias{scores.fry} 5 | \title{Readability Measures} 6 | \usage{ 7 | \method{scores}{fry}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The fry object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | \code{scores.fry} - View scores from \code{\link[qdap]{fry}}. 16 | } 17 | \details{ 18 | fry Method for scores 19 | } 20 | -------------------------------------------------------------------------------- /man/scores.lexical_classification.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/lexical_classification.R 3 | \name{scores.lexical_classification} 4 | \alias{scores.lexical_classification} 5 | \title{Lexical Classification} 6 | \usage{ 7 | \method{scores}{lexical_classification}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The lexical_classification object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | \code{scores.lexical_classification} - View scores from \code{\link[qdap]{lexical_classification}}. 16 | } 17 | \details{ 18 | lexical_classification Method for scores 19 | } 20 | -------------------------------------------------------------------------------- /man/scores.linsear_write.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/automated_readability_index.R 3 | \name{scores.linsear_write} 4 | \alias{scores.linsear_write} 5 | \title{Readability Measures} 6 | \usage{ 7 | \method{scores}{linsear_write}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The linsear_write object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | \code{scores.linsear_write} - View scores from \code{\link[qdap]{linsear_write}}. 16 | } 17 | \details{ 18 | linsear_write Method for scores 19 | } 20 | -------------------------------------------------------------------------------- /man/scores.object_pronoun_type.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/object_pronoun_type.R 3 | \name{scores.object_pronoun_type} 4 | \alias{scores.object_pronoun_type} 5 | \title{Question Counts} 6 | \usage{ 7 | \method{scores}{object_pronoun_type}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The \code{\link[qdap]{object_pronoun_type}} object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View object_pronoun_type scores. 16 | } 17 | \details{ 18 | object_pronoun_type Method for scores 19 | } 20 | -------------------------------------------------------------------------------- /man/scores.polarity.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/polarity.R 3 | \name{scores.polarity} 4 | \alias{scores.polarity} 5 | \title{Polarity} 6 | \usage{ 7 | \method{scores}{polarity}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The polarity object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | \code{scores.polarity} - View scores from \code{\link[qdap]{polarity}}. 16 | } 17 | \details{ 18 | polarity Method for scores 19 | } 20 | -------------------------------------------------------------------------------- /man/scores.pos_by.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/pos.R 3 | \name{scores.pos_by} 4 | \alias{scores.pos_by} 5 | \title{Parts of Speech} 6 | \usage{ 7 | \method{scores}{pos_by}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The \code{\link[qdap]{pos_by}} object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View pos_by scores. 16 | } 17 | \details{ 18 | pos_by Method for scores 19 | } 20 | -------------------------------------------------------------------------------- /man/scores.pronoun_type.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/pronoun_type.R 3 | \name{scores.pronoun_type} 4 | \alias{scores.pronoun_type} 5 | \title{Question Counts} 6 | \usage{ 7 | \method{scores}{pronoun_type}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The \code{\link[qdap]{pronoun_type}} object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View pronoun_type scores. 16 | } 17 | \details{ 18 | pronoun_type Method for scores 19 | } 20 | -------------------------------------------------------------------------------- /man/scores.question_type.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/question_type.R 3 | \name{scores.question_type} 4 | \alias{scores.question_type} 5 | \title{Question Counts} 6 | \usage{ 7 | \method{scores}{question_type}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The \code{\link[qdap]{question_type}} object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View question_type scores. 16 | } 17 | \details{ 18 | question_type Method for scores 19 | } 20 | -------------------------------------------------------------------------------- /man/scores.subject_pronoun_type.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/subject_pronoun_type.R 3 | \name{scores.subject_pronoun_type} 4 | \alias{scores.subject_pronoun_type} 5 | \title{Question Counts} 6 | \usage{ 7 | \method{scores}{subject_pronoun_type}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The \code{\link[qdap]{subject_pronoun_type}} object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View subject_pronoun_type scores. 16 | } 17 | \details{ 18 | subject_pronoun_type Method for scores 19 | } 20 | -------------------------------------------------------------------------------- /man/scores.termco.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/termco.R 3 | \name{scores.termco} 4 | \alias{scores.termco} 5 | \title{Term Counts} 6 | \usage{ 7 | \method{scores}{termco}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The \code{\link[qdap]{termco}} object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View termco scores. 16 | } 17 | \details{ 18 | termco Method for scores 19 | } 20 | -------------------------------------------------------------------------------- /man/scores.word_length.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/word_length.R 3 | \name{scores.word_length} 4 | \alias{scores.word_length} 5 | \title{Word Length Counts} 6 | \usage{ 7 | \method{scores}{word_length}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The \code{\link[qdap]{word_length}} object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View word_length scores. 16 | } 17 | \details{ 18 | word_length Method for scores 19 | } 20 | -------------------------------------------------------------------------------- /man/scores.word_position.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/word_position.R 3 | \name{scores.word_position} 4 | \alias{scores.word_position} 5 | \title{Word Position} 6 | \usage{ 7 | \method{scores}{word_position}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The \code{\link[qdap]{word_position}} object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View word_position scores. 16 | } 17 | \details{ 18 | word_position Method for scores 19 | } 20 | -------------------------------------------------------------------------------- /man/scores.word_stats.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/word_stats.R 3 | \name{scores.word_stats} 4 | \alias{scores.word_stats} 5 | \title{Word Stats} 6 | \usage{ 7 | \method{scores}{word_stats}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The \code{\link[qdap]{question_type}} object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | View question_type scores. 16 | } 17 | \details{ 18 | question_type Method for scores 19 | } 20 | -------------------------------------------------------------------------------- /man/spaste.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/spaste.R 3 | \name{spaste} 4 | \alias{spaste} 5 | \title{Add Leading/Trailing Spaces} 6 | \usage{ 7 | spaste(terms, trailing = TRUE, leading = TRUE) 8 | } 9 | \arguments{ 10 | \item{terms}{A character vector of terms to insert trailing and/or leading 11 | spaces.} 12 | 13 | \item{trailing}{logical. If \code{TRUE} inserts a trailing space in the 14 | terms.} 15 | 16 | \item{leading}{logical. If \code{TRUE} inserts a leading space in the terms.} 17 | } 18 | \value{ 19 | Returns a character vector with trailing and/or leading spaces. 20 | } 21 | \description{ 22 | Adds trailing and/or leading spaces to a vector of terms. 23 | } 24 | \examples{ 25 | \dontrun{ 26 | spaste(Top25Words) 27 | spaste(Top25Words, FALSE) 28 | spaste(Top25Words, trailing = TRUE, leading = FALSE) #or 29 | spaste(Top25Words, , FALSE) 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /man/summary.wfdf.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/wfm.R 3 | \name{summary.wfdf} 4 | \alias{summary.wfdf} 5 | \title{Summarize a wfdf object} 6 | \usage{ 7 | \method{summary}{wfdf}(object, ...) 8 | } 9 | \arguments{ 10 | \item{object}{The wfdf object} 11 | 12 | \item{\ldots}{Ignored.} 13 | } 14 | \description{ 15 | Summarize a wfdf object with familiar tm package look. 16 | } 17 | \details{ 18 | \strong{Non-/sparse entries} is the ratio of non-zeros to zero 19 | counts. \strong{Sparsity} is that ratio represented as a percent. 20 | \strong{Hapax legomenon} is the number(percent) of terms that appear only 21 | once in the dialogue. \strong{Dis legomenon} is the number(percent) of terms 22 | that appear exactly two times once. 23 | } 24 | \examples{ 25 | \dontrun{ 26 | x <- with(DATA, wfdf(state, list(sex, adult))) 27 | summary(x) 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /man/summary.wfm.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/wfm.R 3 | \name{summary.wfm} 4 | \alias{summary.wfm} 5 | \title{Summarize a wfm object} 6 | \usage{ 7 | \method{summary}{wfm}(object, ...) 8 | } 9 | \arguments{ 10 | \item{object}{The wfm object} 11 | 12 | \item{\ldots}{Ignored.} 13 | } 14 | \description{ 15 | Summarize a wfm object with familiar tm package look. 16 | } 17 | \details{ 18 | \strong{Non-/sparse entries} is the ratio of non-zeros to zero 19 | counts. \strong{Sparsity} is that ratio represented as a percent. 20 | \strong{Hapax legomenon} is the number(percent) of terms that appear only 21 | once in the dialogue. \strong{Dis legomenon} is the number(percent) of terms 22 | that appear exactly two times once. 23 | } 24 | \examples{ 25 | \dontrun{ 26 | x <- with(DATA, wfm(state, list(sex, adult))) 27 | summary(x) 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /man/unique_by.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/unique_by.R 3 | \name{unique_by} 4 | \alias{unique_by} 5 | \title{Find Unique Words by Grouping Variable} 6 | \usage{ 7 | unique_by(text.var, grouping.var) 8 | } 9 | \arguments{ 10 | \item{text.var}{The text variable} 11 | 12 | \item{grouping.var}{The grouping variables. Default \code{NULL} generates 13 | one word list for all text. Also takes a single grouping variable or a list 14 | of 1 or more grouping variables.} 15 | } 16 | \value{ 17 | Returns a list of unique words by grouping variable. 18 | } 19 | \description{ 20 | Find unique words used by grouping variable. 21 | } 22 | \examples{ 23 | \dontrun{ 24 | dat <- pres_debates2012[pres_debates2012$time == "time 3", ] 25 | with(dat, unique_by(dialogue, person)) 26 | with(pres_debates2012, unique_by(dialogue, list(time, person))) 27 | 28 | with(DATA, unique_by(state, person)) 29 | } 30 | } 31 | \keyword{unique} 32 | -------------------------------------------------------------------------------- /man/visual.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/visual.R 3 | \name{visual} 4 | \alias{visual} 5 | \title{Generic visual Method} 6 | \usage{ 7 | visual(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{A qdap object (list) with a visual-graph-plot object (e.g., 11 | \code{\link[qdap]{discourse_map}}).} 12 | 13 | \item{\ldots}{Arguments passed to visual method of other classes.} 14 | } 15 | \value{ 16 | Returns a plot object. 17 | } 18 | \description{ 19 | Access the visual-graph-plot object from select qdap outputs. 20 | } 21 | \seealso{ 22 | \code{\link[qdap]{scores}}, 23 | \code{\link[qdap]{counts}}, 24 | \code{\link[qdap]{preprocessed}}, 25 | \code{\link[qdap]{proportions}} 26 | } 27 | -------------------------------------------------------------------------------- /man/visual.discourse_map.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/discourse_map.R 3 | \name{visual.discourse_map} 4 | \alias{visual.discourse_map} 5 | \title{Discourse Map} 6 | \usage{ 7 | \method{visual}{discourse_map}(x, ...) 8 | } 9 | \arguments{ 10 | \item{x}{The discourse_map object.} 11 | 12 | \item{\ldots}{ignored} 13 | } 14 | \description{ 15 | \code{visual.discourse_map} - View visual from \code{\link[qdap]{discourse_map}}. 16 | } 17 | \details{ 18 | discourse_map Method for visual 19 | } 20 | -------------------------------------------------------------------------------- /tests/testthat.R: -------------------------------------------------------------------------------- 1 | library("testthat") 2 | library("qdap") 3 | 4 | 5 | test_check("qdap") -------------------------------------------------------------------------------- /tests/testthat/test-add_incomplete.R: -------------------------------------------------------------------------------- 1 | context("Checking add_incomplete") 2 | 3 | test_that("add_incomplete adds `|` to no punctuation sentences.",{ 4 | 5 | expected <- c("This in a|", "I am funny!", "An ending of sorts%|", "What do you want?") 6 | 7 | x <- add_incomplete( 8 | c( 9 | "This in a", 10 | "I am funny!", 11 | "An ending of sorts%", 12 | "What do you want?" 13 | ), 14 | silent = TRUE 15 | ) 16 | 17 | expect_equal(x, expected) 18 | 19 | }) 20 | 21 | -------------------------------------------------------------------------------- /tests/testthat/test-blank2NA.R: -------------------------------------------------------------------------------- 1 | context("Checking blank2NA") 2 | 3 | 4 | test_that("blank2NA gives the desired output and replaces empty cells",{ 5 | 6 | set.seed(15) 7 | dat <- data.frame(matrix(sample(c(month.abb[1:4], ""), 50, TRUE), 8 | 10, byrow = TRUE), stringsAsFactors = FALSE) 9 | 10 | expect_true(any(sapply(dat, function(x) any(na.omit(x) == "")))) 11 | expect_true(is.data.frame(blank2NA(dat))) 12 | expect_false(any(sapply(blank2NA(dat), function(x) any(na.omit(x) == "")))) 13 | 14 | }) 15 | -------------------------------------------------------------------------------- /tests/testthat/test-capitalizer.R: -------------------------------------------------------------------------------- 1 | context("Checking capitalizer") 2 | 3 | test_that("capitalizer gives the desired output",{ 4 | 5 | expected <- list(c("I", "Like", "it", "but", "I'm", "not", "certain"), c("i", 6 | "Like", "it", "but", "i'm", "not", "certain")) 7 | 8 | 9 | expect_equivalent(capitalizer(bag_o_words("i like it but i'm not certain"), 10 | "like"), expected[[1]]) 11 | expect_equivalent(a2 <- capitalizer(bag_o_words("i like it but i'm not certain"), 12 | "like", FALSE), expected[[2]]) 13 | 14 | }) -------------------------------------------------------------------------------- /tests/testthat/test-clean.R: -------------------------------------------------------------------------------- 1 | context("Checking clean") 2 | 3 | test_that("clean gives the desired output",{ 4 | 5 | x <- "I go \r\n to the \tnext line" 6 | expect_true(clean(x) == "I go to the next line") 7 | 8 | }) -------------------------------------------------------------------------------- /tests/testthat/test-colcomb2class.R: -------------------------------------------------------------------------------- 1 | context("Checking colcomb2class") 2 | 3 | 4 | test_that("colcomb2class gives the correct output including number of columns",{ 5 | 6 | dat4 <- data.frame(X=LETTERS[1:5], matrix(sample(0:5, 20, TRUE), ncol = 4)) 7 | out <- colcomb2class(dat4, list(new = c("X1", "X4"))) 8 | 9 | expect_true(length(dat4) == 5) 10 | expect_true(class(out) == "list") 11 | 12 | classes <- structure(c("data.frame", "data.frame", "data.frame", "numeric", 13 | "logical"), .Names = c("raw", "prop", "rnp", "digits", "percent" 14 | )) 15 | 16 | expect_equivalent(sapply(out, class), classes) 17 | expect_true(all(unlist(sapply(out, ncol)) == rep(4, 3))) 18 | 19 | }) 20 | 21 | -------------------------------------------------------------------------------- /tests/testthat/test-common.R: -------------------------------------------------------------------------------- 1 | context("Checking common") 2 | 3 | test_that("common gives the desired output",{ 4 | 5 | a <- c("a", "cat", "dog", "the", "the") 6 | b <- c("corn", "a", "chicken", "the") 7 | d <- c("house", "feed", "a", "the", "chicken") 8 | x <- common(a, b, d, overlap=2) 9 | y <- common(a, b, d, overlap=3) 10 | expect_true(all(sapply(list(x, y), is.data.frame))) 11 | expect_true(all(unique(x[, 2]) == 3:2)) 12 | expect_true(all(unique(y[, 2]) == 3)) 13 | 14 | r <- list(a, b, d) 15 | expect_equivalent(common(r), y) 16 | 17 | expect_true(is.data.frame(common(word_list(DATA$state, DATA$person)$cwl, 18 | overlap = 2))) 19 | 20 | }) -------------------------------------------------------------------------------- /tests/testthat/test-dispersion_plot.R: -------------------------------------------------------------------------------- 1 | context("Checking colSplit") 2 | 3 | test_that("dispersion_plot outputs a ggplot object",{ 4 | 5 | m <- dispersion_plot(raj$dialogue, c(" love ", "love", " night ", "night"), plot=FALSE) 6 | expect_true(all(class(m) == c("gg", "ggplot"))) 7 | 8 | }) 9 | 10 | -------------------------------------------------------------------------------- /tests/testthat/test-end_mark.R: -------------------------------------------------------------------------------- 1 | context("Checking end_mark") 2 | 3 | test_that("end_mark gives the desired output",{ 4 | 5 | ends <- end_mark(mraja1spl$dialogue) 6 | cum_end <- cumulative(ends) 7 | 8 | expect_true(is.character(ends)) 9 | expect_true(length(ends) == 508) 10 | 11 | }) 12 | 13 | test_that("end_mark_by gives the desired output",{ 14 | 15 | x_by <- end_mark_by(DATA.SPLIT$state, DATA.SPLIT$person) 16 | expect_true(is.list(x_by)) 17 | expect_true(inherits(x_by, "end_mark_by")) 18 | 19 | FUNS <- list(scores, counts, proportions, preprocessed) 20 | outs <- lapply(FUNS, function(x) x(x_by)) 21 | expect_true(all(sapply(outs, is.data.frame))) 22 | 23 | dims <- structure(c(5L, 4L, 5L, 4L, 5L, 4L, 15L, 4L), .Dim = c(2L, 4L)) 24 | expect_equivalent(sapply(outs, dim), dims) 25 | 26 | }) 27 | -------------------------------------------------------------------------------- /tests/testthat/test-unique_by.R: -------------------------------------------------------------------------------- 1 | context("Checking unique_by") 2 | 3 | test_that("unique_by gives the desired output",{ 4 | 5 | x <- with(DATA, unique_by(state, person)) 6 | expect_true(is.list(x)) 7 | expect_false(is.data.frame(x)) 8 | 9 | }) -------------------------------------------------------------------------------- /tests/testthat/test-word_length.R: -------------------------------------------------------------------------------- 1 | context("Checking word_length") 2 | 3 | test_that("word_length gives the desired output",{ 4 | 5 | wls <- with(DATA, word_length(state, person)) 6 | 7 | expect_true(class(wls) == "word_length") 8 | m <- counts(wls) 9 | expect_true(is.data.frame(m)) 10 | expect_true(all(dim(m) == c(5, 10))) 11 | 12 | }) 13 | 14 | -------------------------------------------------------------------------------- /tools/r_qdaplogo/qdapicon.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/tools/r_qdaplogo/qdapicon.pdf -------------------------------------------------------------------------------- /tools/r_qdaplogo/qdapicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/tools/r_qdaplogo/qdapicon.png -------------------------------------------------------------------------------- /tools/r_qdaplogo/qdaplogo.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/tools/r_qdaplogo/qdaplogo.pdf -------------------------------------------------------------------------------- /tools/r_qdaplogo/qdaplogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trinker/qdap/adfd66470f321074ec08a9bfd2a9bedf1f1a636b/tools/r_qdaplogo/qdaplogo.png -------------------------------------------------------------------------------- /tools/r_qdaplogo/resize_icon.txt: -------------------------------------------------------------------------------- 1 | cd C:\Users\Tyler\GitHub\qdap\tools\qdap_logo 2 | ffmpeg -i r_qdapa.png -vf scale=250:-1 r_qdap.png --------------------------------------------------------------------------------