ranked_barplot(),
centered_barplot(), centered_dotplot(),
shape_comp_plot(), shape_aic().• Added two example datasets for textual analysis:
• alice: tokenized words from Alice’s Adventures in Wonderland
• kafka: tokenized words from The Metamorphosis
These datasets can be used to demonstrate rank-frequency (Zipf) plots.
• rare_plot(): Generates rarefaction curves for nominal variables to explore category accumulation as sampling effort increases.
• zipf_rank_plot(): Creates rank-frequency plots comparing observed category frequencies with the expected Zipf distribution. Supports log-log scaling and cumulative proportion filtering.