R: Steve's Miscellaneous Functions

# Steve's Miscellaneous Functions

## Documentation for package ‘stevemisc’ version 1.9.0

- DESCRIPTION file
- Package NEWS
- Package README

## Help Pages

%nin% | Find Non-Matching Elements
binred_plot | Generate a Binned-Residual Plot from a Fitted Generalized Linear Model
carr | Recode a Variable
carrec | Recode a Variable
center_at | Scoped Helper Verbs
charitable_contributions | Charitable Contributions Panel Data
cor2data | Simulate Data from Correlation Matrix
corvectors | Create multivariate data by permutation
db_lselect | Lazily select variables from multiple tables in a relational database
diff_at | Scoped Helper Verbs
dst | The Student-t Distribution (Location-Scale)
ess9_labelled | Some Labeled Data in the European Social Survey (Round 9)
fct_reorg | Reorganize a factor after "re-leveling" it
filter_refs | Filter a Data Frame of Citations and Return the Entries as a Character
fra_leaderyears | French Leader-Years, 1874-2015
get_sims | Get Simulations from a Model Object (with New Data)
get_var_info | Get a small data frame of the variable label and values.
gmy_dyadyears | German Dyad-Years, 1816-2020
group_mean_center_at | Scoped Helper Verbs
gvi | Get a small data frame of the variable label and values.
jenny | Set the Only Reproducible Seed That Matters
lag_at | Scoped Helper Verbs
log_at | Scoped Helper Verbs
make_perclab | Make Percentage Label for Proportion and Add Percentage Sign
make_scale | Rescale Vector to Arbitrary Minimum and Maximum
map_quiz | Map Quiz Wrong Guesses Across Five Intro to IR Courses
mean_at | Scoped Helper Verbs
mround | Multiply a Number by 100 and Round It (By Default: 2)
normal_dist | Make and annotate a normal distribution with 'ggplot2'
post_bg | Legacy functions for Steve's Preferred 'ggplot2' Themes and Assorted Stuff
prepare_refs | Prepare 'bib2df' Data Frame for Formatting to Various Outputs
print_refs | Print and Format '.bib' Entries as References
pst | The Student-t Distribution (Location-Scale)
ps_btscs | Create "peace years" or "spells" by cross-sectional unit, more generally
ps_spells | Create "spells" by cross-sectional unit, even more generally
p_z | Convert the p-value you want to the z-value it actually is
qst | The Student-t Distribution (Location-Scale)
r1sd | Scale a vector by one standard deviation
r1sd_at | Scoped Helper Verbs
r2sd | Scale a vector (or vectors) by two standard deviations
r2sd_at | Scoped Helper Verbs
rbnorm | Bounded Normal (Really: Scaled Beta) Distribution
rd_plot | Residual Density Plot for Linear Models
revcode | Reverse code a numeric variable
rewb_at | Scoped Helper Verbs
rst | The Student-t Distribution (Location-Scale)
sbayesboot | Bootstrap a Regression Model, the Bayesian Way
sbtscs | Create "peace years" or "spells" by cross-sectional unit
show_ranef | Get a caterpillar plot of random effects from a mixed model
smvrnorm | Simulate from a Multivariate Normal Distribution
stevepubs | An Incomplete List of My Publications, All of Which You Should Cite
strategic_rivalries | Strategic Rivalries, 1494-2010
studentt | The Student-t Distribution (Location-Scale)
tbl_df | Convert data frame to an object of class "tibble"
theme_steve_font | Legacy functions for Steve's Preferred 'ggplot2' Themes and Assorted Stuff
theme_steve_ms | Legacy functions for Steve's Preferred 'ggplot2' Themes and Assorted Stuff
theme_steve_web | Legacy functions for Steve's Preferred 'ggplot2' Themes and Assorted Stuff
to_tbl | Convert data frame to an object of class "tibble"
usa_mids | United States Militarized Interstate Disputes (MIDs)
wls | Get Weighted Least Squares of Your OLS Model
wom | Generate Week of the Month from a Date