Man pages for quanteda/quanteda
Quantitative Analysis of Textual Data

affinityInternal function to fit the likelihood scaling mixture...
as.coefficients_textmodelCoerce various objects to coefficients_textmodel This is a...
as.corpuscoerce a compressed corpus to a standard corpus
as.corpus.corpuszipCoerce a compressed corpus to a standard corpus a dfm to a data.frame
as.dfmCoercion and checking functions for dfm objects
as.dictionaryCoercion and checking functions for dictionary objects
as.dist.distCoerce a dist into a dist
as.fcmCoercion functions for fcm objects
as.igraphConvert an fcm to an igraph object
as.list.distCoerce a dist object into a list
as.list.dist_selectionCoerce a dist_selection object into a list
as.matrix.dfmCoerce a dfm to a matrix or data.frame
as.matrix.dist_selectionCoerce a dist_selection object to a matrix
as.matrix.similCoerce a simil object into a matrix
as.networkredefinition of
as.statistics_textmodelCoerce various objects to statistics_textmodel
as.summary.textmodelAssign the summary.textmodel class to a list
as.tokensCoercion, checking, and combining functions for tokens...
as.yamlConvert quanteda dictionary objects to the YAML format
attributes-setFunction extending base::attributes()
bootstrap_dfmBootstrap a dfm
cbind.dfmCombine dfm objects by Rows or Columns
char_tolowerConvert the case of character objects
check_fontCheck if font is available on the system
coef.textmodel_caExtract model coefficients from a fitted textmodel_ca object
compute_lexdiv_statsCompute lexical diversity from a dfm or tokens
compute_mattrCompute the Moving-Average Type-Token Ratio (MATTR)
compute_msttrCompute the Mean Segmental Type-Token Ratio (MSTTR)
convertConvert a dfm to a non-quanteda format
convert-wrappersConvenience wrappers for dfm convert
corpusConstruct a corpus object
corpus-classBase method extensions for corpus objects
corpus_reshapeRecast the document units of a corpus
corpus_sampleRandomly sample documents from a corpus
corpus_segmentSegment texts on a pattern match
corpus_subsetExtract a subset of a corpus
corpus_trimRemove sentences based on their token lengths or a pattern...
corpus_trimsentencesRemove sentences based on their token lengths or a pattern...
createUtility function to create a object with new set of...
data_char_sampletextA paragraph of text for testing various text-based functions
data_char_ukimmig2010Immigration-related sections of 2010 UK party manifestos
data_corpus_dailnoconf1991Confidence debate from 1991 Irish Parliament
data_corpus_inauguralUS presidential inaugural address texts
data_corpus_irishbudget2010Irish budget speeches from 2010
data-deprecatedDatasets with deprecated or defunct names
data_dfm_lbgexampledfm from data in Table 1 of Laver, Benoit, and Garry (2003)
data_dictionary_LSD2015Lexicoder Sentiment Dictionary (2015)
data-internalInternal data sets
dfmCreate a document-feature matrix
dfm2lsaConvert a dfm to an lsa "textmatrix"
dfm-classVirtual class "dfm" for a document-feature matrix
dfm_compressRecombine a dfm or fcm by combining identical dimension...
dfm_groupCombine documents in a dfm by a grouping variable
dfm-internalInternal functions for dfm objects
dfm_lookupApply a dictionary to a dfm
dfm_matchMatch the feature set of a dfm to given feature names
dfm_replaceReplace features in dfm
dfm_sampleRandomly sample documents or features from a dfm
dfm_selectSelect features from a dfm or fcm
dfm_sortSort a dfm by frequency of one or more margins
dfm_split_hyphenated_featuresSplit a dfm's hyphenated features into constituent parts
dfm_subsetExtract a subset of a dfm
dfm_tfidfWeight a dfm by _tf-idf_
dfm_tolowerConvert the case of the features of a dfm and combine
dfm_trimTrim a dfm using frequency threshold-based feature selection
dfm_weightWeight the feature frequencies in a dfm
dictionaryCreate a dictionary
dictionary-classCoerce a dictionary object into a list
docfreqCompute the (weighted) document frequency of a feature
docnamesGet or set document names
docvarsGet or set document-level variables
escape_regexInternal function for 'select_types()' to escape regular...
expandSimpler and faster version of expand.grid() in base package
fcmCreate a feature co-occurrence matrix
fcm-classVirtual class "fcm" for a feature co-occurrence matrix The...
fcm_sortSort an fcm in alphabetical order of the features
featnamesGet the feature labels from a dfm
flatten_dictionaryFlatten a hierarchical dictionary into a list of character...
format_sparsityformat a sparsity value for printing
friendly_class_undefined_messagePrint friendly object class not defined message
generate_groupsGenerate a grouping vector from docvars
groupsGrouping variable(s) for various functions
head.corpusReturn the first or last part of a corpus
head.dfmReturn the first or last part of a dfm
influence.predict.textmodel_affinityCompute feature influence from a predicted textmodel_affinity...
is_globCheck if patterns contains glob wildcard
is_indexedCheck if a glob pattern is indexed by index_types
is_regexInternal function for 'select_types()' to check if a string...
keynessCompute keyness (internal functions)
kwicLocate keywords-in-context
list2dictionaryInternal function to convert a list to a dictionary
lowercase_dictionary_valuesInternal function to lowercase dictionary values
matrix2dfmConverts a Matrix to a dfm
matrix2fcmConverts a Matrix to a fcm
merge_dictionary_valuesInternal function to merge values of duplicated keys
message_errorReturn an error message
metacorpusGet or set corpus metadata
metadocGet or set document-level meta-data
ndocCount the number of documents or features
nest_dictionaryUtility function to generate a nested list
nfeatureDefunct form of nfeat
nscrabbleCount the Scrabble letter values of text
nsentenceCount the number of sentences
nsyllableCount syllables in a text
ntokenCount the number of tokens or types
patternPattern for feature, token and keyword matching
pattern2idConvert regex and glob patterns to type IDs or fixed patterns
pattern2listConvert various input as pattern to a vector used in...
phraseDeclare a compound character to be a sequence of separate...
predict.textmodel_affinityPrediction for a fitted affinity textmodel
predict.textmodel_nbPrediction from a fitted textmodel_nb object
predict.textmodel_wordfishPrediction from a textmodel_wordfish method
predict.textmodel_wordscoresPredict textmodel_wordscores
print.coefficients_textmodelPrint methods for textmodel features estimates This is a...
print.dfmPrint a dfm object
print.dist_selectionPrint a dist_selection object
print.phrasesPrint a phrase object
print.statistics_textmodelImplements print methods for textmodel_statistics
print.summary.textmodelprint method for summary.textmodel
print.textmodel_wordfishprint method for a wordfish model
quanteda_optionsGet or set package options for quanteda
quanteda-packageAn R package for the quantitative analysis of textual data
read_dict_lexicoderImport a Lexicoder dictionary
read_dict_liwcImport a LIWC-formatted dictionary
read_dict_wordstatImport a Wordstat dictionary
read_dict_yoshikoderImport a Yoshikoder dictionary file.
reexportsObjects exported from other packages
remove_empty_keysUtility function to remove empty keys
replace_dictionary_valuesInternal function to replace dictionary values
sample_bygroupSample a vector by a group
scrabbleDeprecated name for nscrabble
search_globSelect types without performing slow regex search
search_indexInternal function for 'select_types' to search the index...
set_dfm_dimnamesInternal functions to set dimnames
set_dfm_slotsSet values to a dfm's S4 slots
set_fcm_slotsSet values to a fcm's S4 slots
settingsGet or set the corpus settings
slots-setFunction to assign multiple slots to a S4 object
spacyr-methodsExtensions for and from spacy_parse objects
sparsityCompute the sparsity of a document-feature matrix
split_valuesInternal function for special handling of multi-word...
summary_characterSummary statistics on a character vector
summary.charactersummary.character method to override the...
summary.corpusSummarize a corpus
summary.textmodel_nbsummary method for textmodel_nb objects
summary.textmodel_wordfishsummary method for textmodel_wordfish
textmodel_affinityClass affinity maximum likelihood text scaling model
textmodel_affinity-internalInternal methods for textmodel_affinity
textmodel_caCorrespondence analysis of a document-feature matrix
textmodel_lsaLatent Semantic Analysis
textmodel_lsa-postestimationPost-estimations methods for textmodel_lsa
textmodel_nbNaive Bayes classifier for texts
textmodel_wordfishWordfish text model
textmodel_wordscoresWordscores text model
textmodel_wordshoalWordshoal text model (redirect)
textplot_influenceInfluence plot for text scaling models
textplot_keynessPlot word keyness
textplot_networkPlot a network of feature co-occurrences
textplot_scale1dPlot a fitted scaling model
textplot_wordcloudPlot features as a wordcloud
textplot_xrayPlot the dispersion of key word(s)
textsGet or assign corpus texts
textstat_collocationsIdentify and score multi-word expressions
textstat_entropyCompute entropy of documents or features
textstat_frequencyTabulate feature frequencies
textstat_keynessCalculate keyness statistics
textstat_lexdivCalculate lexical diversity
textstat_proxy[Experimental] Compute document/feature proximity
textstat_readabilityCalculate readability
textstat_selectSelect rows of textstat objects by glob, regex or fixed...
textstat_similSimilarity and distance computation between documents or...
textstat_simil_oldSimilarity and distance computation between documents or...
tfdeprecated name for dfm_weight
tfidfDeprecated form of 'dfm_tfidf'
tokensTokenize a set of texts
tokens_chunkSegment tokens object by chunks of a given size
tokens_compoundConvert token sequences into compound tokens
tokens_groupRecombine documents tokens by groups
tokens_lookupApply a dictionary to a tokens object
tokens_ngramsCreate ngrams and skipgrams from tokens
tokens_recompilerecompile a serialized tokens object
tokens_replaceReplace tokens in a tokens object
tokens_sampleRandomly sample documents from a tokens object
tokens_segmentSegment tokens object by patterns
tokens_selectSelect or remove tokens from a tokens object
tokens_serializeFunction to serialized list-of-character tokens
tokens_splitSplit tokens by a separator pattern
tokens_subsetExtract a subset of a tokens
tokens_tolowerConvert the case of tokens
tokens_tortl[Experimental] Change direction of words in tokens
tokens_wordstemStem the terms in an object
topfeaturesIdentify the most frequent features in a dfm
typesGet word types from a tokens object
unused_dotsRaise warning of unused dots
valuetypePattern matching using valuetype
ViewView methods for quanteda
wordcloudInternal function for textplot_wordcloud
wordcloud_comparisonInternal function for textplot_wordcloud
quanteda/quanteda documentation built on March 11, 2019, 2:33 p.m.