Man pages for stevemisc
Steve's Miscellaneous Functions

binred_plotGenerate a Binned-Residual Plot from a Fitted Generalized...
carrecRecode a Variable
cor2dataSimulate Data from Correlation Matrix
corvectorsCreate multivariate data by permutation
db_lselectLazily select variables from multiple tables in a relational...
ess9_labelledSome Labeled Data in the European Social Survey (Round 9)
fct_reorgReorganize a factor after "re-leveling" it
filter_refsFilter a Data Frame of Citations and Return the Entries as a...
fra_leaderyearsFrench Leader-Years, 1874-2015
get_simsGet Simulations from a Model Object (with New Data)
get_var_infoGet a small data frame of the variable label and values.
ggplot-themesSteve's Preferred 'ggplot2' Themes and Assorted Stuff
gmy_dyadyearsGerman Dyad-Years, 1816-2020
jennySet the Only Reproducible Seed That Matters
linloess_plotCompare Linear Smoother to LOESS Smoother for Your OLS Model
make_perclabMake Percentage Label for Proportion and Add Percentage Sign
make_scaleRescale Vector to Arbitrary Minimum and Maximum
map_quizMap Quiz Wrong Guesses Across Five Intro to IR Courses
mroundMultiply a Number by 100 and Round It (By Default: 2)
ninFind Non-Matching Elements
normal_distMake and annotate a normal distribution with 'ggplot2'
prepare_refsPrepare 'bib2df' Data Frame for Formatting to Various Outputs
print_refsPrint and Format '.bib' Entries as References
ps_btscsCreate "peace years" or "spells" by cross-sectional unit,...
ps_spellsCreate "spells" by cross-sectional unit, even more generally
p_zConvert the p-value you want to the z-value it actually is
r1sdScale a vector by one standard deviation
r2sdScale a vector (or vectors) by two standard deviations
rbnormBounded Normal (Really: Scaled Beta) Distribution
revcodeReverse code a numeric variable
sbayesbootBootstrap a Regression Model, the Bayesian Way
sbtscsCreate "peace years" or "spells" by cross-sectional unit
show_ranefGet a caterpillar plot of random effects from a mixed model
smvrnormSimulate from a Multivariate Normal Distribution
stevepubsAn Incomplete List of My Publications, All of Which You...
strategic_rivalriesStrategic Rivalries, 1494-2010
studenttThe Student-t Distribution (Location-Scale)
tbl_dfConvert data frame to an object of class "tibble"
usa_midsUnited States Militarized Interstate Disputes (MIDs)
womGenerate Week of the Month from a Date
stevemisc documentation built on April 12, 2022, 5:06 p.m.