Package: drhutools 1.1.9999

drhutools: Political Science Academic Research Gears

Using these tools to simplify the research process of political science and other social sciences. The current version can create folder system for academic project in political science, calculate psychological trait scores, visualize experimental and spatial data, set up color-blind palette, and test for Type I error (false positives) in Qualitative Comparative Analysis (QCA) for crisp-set, multi-value, and fuzzy-set variants.

Authors:Yue Hu [aut, cre], Qian Qiu [ctb], Wen Deng [ctb], Bear Braumoeller [ctb]

drhutools_1.1.9999.tar.gz
drhutools_1.1.9999.zip(r-4.7)drhutools_1.1.9999.zip(r-4.6)drhutools_1.1.9999.zip(r-4.5)
drhutools_1.1.9999.tgz(r-4.6-any)drhutools_1.1.9999.tgz(r-4.5-any)
drhutools_1.1.9999.tar.gz(r-4.6-any)drhutools_1.1.9999.tar.gz(r-4.5-any)
drhutools_1.1.9999.tgz(r-4.5-emscripten)
drhutools.pdf |drhutools.html
drhutools/json (API)
NEWS

# Install 'drhutools' in R:
install.packages('drhutools', repos = c('https://sammo3182.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/sammo3182/drhutools/issues

Datasets:

On CRAN:

Conda:

5.08 score 4 stars 2 scripts 295 downloads 12 exports 85 dependencies

Last updated from:6008708b38. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK201
source / vignettesOK245
linux-release-x86_64OK206
macos-release-arm64OK132
macos-oldrel-arm64OK104
windows-develOK125
windows-releaseOK123
windows-oldrelOK177
wasm-releaseOK198

Exports:cdplotcsQCAbinTestfolderSystemfsQCApermTestgb_colsgb_palgoodmapmvQCAbinTestp.threshold.adjustscale_color_gbscale_fill_gbtraits

Dependencies:animationbase64encbslibcachemcallrclassclassIntclicpp11crayoncrosstalkcurlDBIdigestdplyre1071evaluatefarverfastmapfontawesomefsgenericsgganimateggplot2gluegtablehighrhmshtmltoolshtmlwidgetsisobandjquerylibjsonliteKernSmoothknitrlabelinglatticelazyevalleafletleaflet.providerslifecyclelpSolvemagickmagrittrMASSmemoisemimepillarpkgconfigpngprettyunitsprocessxprogressproxypspurrrR6rappdirsrasterRColorBrewerRcpprlangrmarkdowns2S7sassscalessfspstringiterratibbletidyselecttinytextransformrtweenrunitsutf8vctrsviridisLitewebshotwithrwkxfunyaml

drhutools: Political Science Academic Research Gears

Rendered fromdrhutools.Rmdusingknitr::rmarkdownon Apr 10 2026.

Last update: 2026-04-07
Started: 2024-08-27

Readme and manuals

Help Manual

Help pageTopics
Determinants of the Arab Spring UprisingArab.Spring
Visualizing the experimental outcome with cumulative distribution functions.cdplot
A Simple Binomial Test for Type I Error in csQCAcsQCAbinTest
Folder hierarchy creator for academic researchfolderSystem
A Simple Permutation Test for Type I Error in fsQCAfsQCApermTest
Function to extract colors as hex codes.gb_cols
Function to interpolate a gold-black color palette.gb_pal
The 'goodmap' function is designed to create interactive PNG Map or GIF Map from a provided data file. It supports two types of maps: 'point' and 'polygon'. The function can visualize data by either plotting points based on geographical coordinates or highlighting regions polygon based on their administrative boundaries (province or city level). Additionally, the function can generate animated that showcase the change of data.goodmap
Leaflet Map Names Datasetleafletcn.map.names
A Simple Binomial Test for Type I Error in mvQCAmvQCAbinTest
Calculate Vector of p-value Thresholds for Multiple Inferencep.threshold.adjust
Plot Results of fsQCA Permutation Testplot.fsQCApt
Fill scale constructors for gold & black colorsscale_color_gb
Color scale constructors for gold & black colorsscale_fill_gb
Determinants of Social Revolutionssocial.revolutions
Summarize Binomial Tests for csQCA Datasummary.csQCAbt
Summarize Permutation Tests for fsQCA Datasummary.fsQCApt
Summarize Binomial Tests for mvQCA Datasummary.mvQCAbt
Toy Dataset for 'goodmap'toy_poly
Calculate psychological traits based ontraits